patch-1.3.28 linux/include/linux/kernel_stat.h
Next file: linux/include/linux/mc146818rtc.h
Previous file: linux/include/linux/kdev_t.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Sep 15 11:29:55 1995
- Orig file:
v1.3.27/linux/include/linux/kernel_stat.h
- Orig date:
Mon Mar 28 11:21:52 1994
diff -u --recursive --new-file v1.3.27/linux/include/linux/kernel_stat.h linux/include/linux/kernel_stat.h
@@ -1,6 +1,8 @@
#ifndef _LINUX_KERNEL_STAT_H
#define _LINUX_KERNEL_STAT_H
+#include <asm/irq.h>
+
/*
* 'kernel_stat.h' contains the definitions needed for doing
* some kernel statistics (cpu usage, context switches ...),
@@ -14,7 +16,7 @@
unsigned int dk_drive[DK_NDRIVE];
unsigned int pgpgin, pgpgout;
unsigned int pswpin, pswpout;
- unsigned int interrupts[16];
+ unsigned int interrupts[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
with Sam's (original) version of this