diff options
-rw-r--r-- | arch/x86/include/asm/hardirq.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/x86/include/asm/hardirq.h b/arch/x86/include/asm/hardirq.h index f4a95f20f8ec..176f058e7159 100644 --- a/arch/x86/include/asm/hardirq.h +++ b/arch/x86/include/asm/hardirq.h | |||
@@ -7,14 +7,22 @@ | |||
7 | typedef struct { | 7 | typedef struct { |
8 | unsigned int __softirq_pending; | 8 | unsigned int __softirq_pending; |
9 | unsigned int __nmi_count; /* arch dependent */ | 9 | unsigned int __nmi_count; /* arch dependent */ |
10 | unsigned int apic_timer_irqs; /* arch dependent */ | ||
11 | unsigned int irq0_irqs; | 10 | unsigned int irq0_irqs; |
11 | #ifdef CONFIG_X86_LOCAL_APIC | ||
12 | unsigned int apic_timer_irqs; /* arch dependent */ | ||
13 | unsigned int irq_spurious_count; | ||
14 | #endif | ||
15 | #ifdef CONFIG_SMP | ||
12 | unsigned int irq_resched_count; | 16 | unsigned int irq_resched_count; |
13 | unsigned int irq_call_count; | 17 | unsigned int irq_call_count; |
14 | unsigned int irq_tlb_count; | 18 | unsigned int irq_tlb_count; |
19 | #endif | ||
20 | #ifdef CONFIG_X86_MCE | ||
15 | unsigned int irq_thermal_count; | 21 | unsigned int irq_thermal_count; |
16 | unsigned int irq_spurious_count; | 22 | # ifdef CONFIG_X86_64 |
17 | unsigned int irq_threshold_count; | 23 | unsigned int irq_threshold_count; |
24 | # endif | ||
25 | #endif | ||
18 | } ____cacheline_aligned irq_cpustat_t; | 26 | } ____cacheline_aligned irq_cpustat_t; |
19 | 27 | ||
20 | DECLARE_PER_CPU(irq_cpustat_t, irq_stat); | 28 | DECLARE_PER_CPU(irq_cpustat_t, irq_stat); |