patch-2.2.15 linux/include/linux/kernel_stat.h

Next file: linux/include/linux/kernelcapi.h
Previous file: linux/include/linux/istallion.h
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/include/linux/kernel_stat.h linux/include/linux/kernel_stat.h
@@ -25,7 +25,9 @@
 	unsigned int dk_drive_wblk[DK_NDRIVE];
 	unsigned int pgpgin, pgpgout;
 	unsigned int pswpin, pswpout;
+#ifndef CONFIG_ARCH_S390
 	unsigned int irqs[NR_CPUS][NR_IRQS];
+#endif
 	unsigned int ipackets, opackets;
 	unsigned int ierrors, oerrors;
 	unsigned int collisions;
@@ -34,6 +36,7 @@
 
 extern struct kernel_stat kstat;
 
+#ifndef CONFIG_ARCH_S390
 /*
  * Number of interrupts per specific IRQ source, since bootup
  */
@@ -46,5 +49,6 @@
 
 	return sum;
 }
+#endif
 
 #endif /* _LINUX_KERNEL_STAT_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)