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

Next file: linux/include/linux/linkage.h
Previous file: linux/include/linux/ip.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.79/linux/include/linux/kernel_stat.h linux/include/linux/kernel_stat.h
@@ -2,6 +2,7 @@
 #define _LINUX_KERNEL_STAT_H
 
 #include <asm/irq.h>
+#include <linux/smp.h>
 #include <linux/tasks.h>
 
 /*
@@ -24,7 +25,7 @@
 	unsigned int dk_drive_wblk[DK_NDRIVE];
 	unsigned int pgpgin, pgpgout;
 	unsigned int pswpin, pswpout;
-	unsigned int interrupts[NR_IRQS];
+	unsigned int interrupts[NR_CPUS][NR_IRQS];
 	unsigned int ipackets, opackets;
 	unsigned int ierrors, oerrors;
 	unsigned int collisions;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov