summaryrefslogtreecommitdiffstats
path: root/arch/arm/include
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-11-15 15:20:41 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-12-20 16:06:58 +0100
commitcab8c6f3053c1b147bba825844c8e208f8b3b9f4 (patch)
treeee11484788efc820b48f2348ec72df6e8356b7b5 /arch/arm/include
parentARM: SMP: provide accessors for irq_stat data (diff)
downloadlinux-cab8c6f3053c1b147bba825844c8e208f8b3b9f4.tar.xz
linux-cab8c6f3053c1b147bba825844c8e208f8b3b9f4.zip
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')
-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 923eaa1ba83b..824b08aa3f7a 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 */