From c01b325f446960d5045ccde1de0bc8608749d126 Mon Sep 17 00:00:00 2001 From: Martin Schwidefsky Date: Wed, 16 Jul 2003 20:34:28 -0700 Subject: [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. --- include/linux/kernel_stat.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include/linux') 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 */ -- cgit v1.2.3