diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-11-15 13:38:06 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-12-20 15:06:57 +0000 |
commit | ec405ea9fe5fdeb40824edba7082803b3e98f176 (patch) | |
tree | 62903c7d594e682d58aef61c84f9a16c1d327d95 /arch/arm/include/asm/hardirq.h | |
parent | e3fbb087650df130788d8e3ac29875ee56819249 (diff) | |
download | op-kernel-dev-ec405ea9fe5fdeb40824edba7082803b3e98f176.zip op-kernel-dev-ec405ea9fe5fdeb40824edba7082803b3e98f176.tar.gz |
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 6d7485a..522fb23 100644 --- a/arch/arm/include/asm/hardirq.h +++ b/arch/arm/include/asm/hardirq.h @@ -7,7 +7,9 @@ typedef struct { unsigned int __softirq_pending; +#ifdef CONFIG_LOCAL_TIMERS unsigned int local_timer_irqs; +#endif } ____cacheline_aligned irq_cpustat_t; #include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */ |