summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/hardirq.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-11-15 14:20:41 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-12-20 15:06:58 +0000
commitcab8c6f3053c1b147bba825844c8e208f8b3b9f4 (patch)
treeee11484788efc820b48f2348ec72df6e8356b7b5 /arch/arm/include/asm/hardirq.h
parent46c48f222f568decb881a552caa1c8f9c96c521e (diff)
downloadop-kernel-dev-cab8c6f3053c1b147bba825844c8e208f8b3b9f4.zip
op-kernel-dev-cab8c6f3053c1b147bba825844c8e208f8b3b9f4.tar.gz
ARM: SMP: move ipi_count into irq_stat structure
Move the ipi_count into irq_stat, which allows the ipi_data structure to be entirely removed. 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/hardirq.h b/arch/arm/include/asm/hardirq.h
index 923eaa1b..824b08a 100644
--- a/arch/arm/include/asm/hardirq.h
+++ b/arch/arm/include/asm/hardirq.h
@@ -10,6 +10,9 @@ typedef struct {
#ifdef CONFIG_LOCAL_TIMERS
unsigned int local_timer_irqs;
#endif
+#ifdef CONFIG_SMP
+ unsigned int ipi_irqs;
+#endif
} ____cacheline_aligned irq_cpustat_t;
#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
OpenPOWER on IntegriCloud