Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[S390] remove superfluous check from do_IRQ

Don't check for the int_type if an adapter interrupt is presented.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Sebastian Ott and committed by
Martin Schwidefsky
ee5894fb 2c190da4

+1 -7
+1 -5
drivers/s390/cio/cio.c
··· 630 630 irb = (struct irb *)&S390_lowcore.irb; 631 631 do { 632 632 kstat_cpu(smp_processor_id()).irqs[IO_INTERRUPT]++; 633 - /* 634 - * Non I/O-subchannel thin interrupts are processed differently 635 - */ 636 - if (tpi_info->adapter_IO == 1 && 637 - tpi_info->int_type == IO_INTERRUPT_TYPE) { 633 + if (tpi_info->adapter_IO) { 638 634 do_adapter_IO(tpi_info->isc); 639 635 continue; 640 636 }
-2
drivers/s390/cio/cio.h
··· 105 105 struct schib_config config; 106 106 } __attribute__ ((aligned(8))); 107 107 108 - #define IO_INTERRUPT_TYPE 0 /* I/O interrupt type */ 109 - 110 108 #define to_subchannel(n) container_of(n, struct subchannel, dev) 111 109 112 110 extern int cio_validate_subchannel (struct subchannel *, struct subchannel_id);