diff options
| author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2003-07-16 20:34:28 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-07-16 20:34:28 -0700 |
| commit | c01b325f446960d5045ccde1de0bc8608749d126 (patch) | |
| tree | 10be46e4fd4bcc4789710e77df73df8fbcd4525e /include/linux | |
| parent | 2eb5ee047f78987e7004e84c5b4fb0812bc49de9 (diff) | |
[PATCH] s390: irq stats.
Enable irq statistics for s390*. We defined NR_IRQS to 2, one for all i/o
interrupts and one for all external interrupts.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/kernel_stat.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/kernel_stat.h b/include/linux/kernel_stat.h index 9971827a3c4b..f2449476b088 100644 --- a/include/linux/kernel_stat.h +++ b/include/linux/kernel_stat.h @@ -23,9 +23,7 @@ struct cpu_usage_stat { struct kernel_stat { struct cpu_usage_stat cpustat; -#if !defined(CONFIG_ARCH_S390) unsigned int irqs[NR_IRQS]; -#endif }; DECLARE_PER_CPU(struct kernel_stat, kstat); @@ -36,7 +34,6 @@ DECLARE_PER_CPU(struct kernel_stat, kstat); extern unsigned long nr_context_switches(void); -#if !defined(CONFIG_ARCH_S390) /* * Number of interrupts per specific IRQ source, since bootup */ @@ -50,6 +47,5 @@ static inline int kstat_irqs(int irq) return sum; } -#endif #endif /* _LINUX_KERNEL_STAT_H */ |
