summaryrefslogtreecommitdiffstats
path: root/arch/arm/include
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-11-15 13:38:06 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-12-20 15:06:57 +0000
commitec405ea9fe5fdeb40824edba7082803b3e98f176 (patch)
tree62903c7d594e682d58aef61c84f9a16c1d327d95 /arch/arm/include
parente3fbb087650df130788d8e3ac29875ee56819249 (diff)
downloadblackbird-op-linux-ec405ea9fe5fdeb40824edba7082803b3e98f176.tar.gz
blackbird-op-linux-ec405ea9fe5fdeb40824edba7082803b3e98f176.zip
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')
-rw-r--r--arch/arm/include/asm/hardirq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/hardirq.h b/arch/arm/include/asm/hardirq.h
index 6d7485aff955..522fb23241ac 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 */
OpenPOWER on IntegriCloud