kernel/include/asm-generic/hardirq.h
.. .. @@ -7,9 +7,13 @@ 7 7 8 8 typedef struct { 9 9 unsigned int __softirq_pending; 10 +#ifdef ARCH_WANTS_NMI_IRQSTAT11 + unsigned int __nmi_count;12 +#endif10 13 } ____cacheline_aligned irq_cpustat_t; 11 14 12 -#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */15 +DECLARE_PER_CPU_ALIGNED(irq_cpustat_t, irq_stat);16 +13 17 #include <linux/irq.h> 14 18 15 19 #ifndef ack_bad_irq