diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-11-15 08:38:06 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-12-20 10:06:57 -0500 |
commit | ec405ea9fe5fdeb40824edba7082803b3e98f176 (patch) | |
tree | 62903c7d594e682d58aef61c84f9a16c1d327d95 /arch/arm/include/asm/hardirq.h | |
parent | e3fbb087650df130788d8e3ac29875ee56819249 (diff) |
ARM: include local timer irq stats only when local timers configured
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/hardirq.h')
-rw-r--r-- | arch/arm/include/asm/hardirq.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/hardirq.h b/arch/arm/include/asm/hardirq.h index 6d7485aff95..522fb23241a 100644 --- a/arch/arm/include/asm/hardirq.h +++ b/arch/arm/include/asm/hardirq.h | |||
@@ -7,7 +7,9 @@ | |||
7 | 7 | ||
8 | typedef struct { | 8 | typedef struct { |
9 | unsigned int __softirq_pending; | 9 | unsigned int __softirq_pending; |
10 | #ifdef CONFIG_LOCAL_TIMERS | ||
10 | unsigned int local_timer_irqs; | 11 | unsigned int local_timer_irqs; |
12 | #endif | ||
11 | } ____cacheline_aligned irq_cpustat_t; | 13 | } ____cacheline_aligned irq_cpustat_t; |
12 | 14 | ||
13 | #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ | 15 | #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ |