aboutsummaryrefslogtreecommitdiff
path: root/include/linux/irqchip/arm-gic.h
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2012-11-28 18:17:25 -0500
committerNicolas Pitre <nicolas.pitre@linaro.org>2013-06-19 16:54:27 -0400
commitdf321c43e3c3ed44d2434fd12d378736a82152d5 (patch)
tree4033cfc149e677c4276b27e32ec30e78ec175f84 /include/linux/irqchip/arm-gic.h
parent8e9c2d29bf6fee7a99db920c8a08aa691c2973d3 (diff)
downloadvexpress-lsk-df321c43e3c3ed44d2434fd12d378736a82152d5.tar.gz
ARM: GIC: function to retrieve the physical address of the SGIR
In order to have early assembly code signal other CPUs in the system, we need to get the physical address for the SGIR register used to send IPIs. Because the register will be used with a precomputed CPU interface ID number, there is no need for any locking in the assembly code where this register is written to. Signed-off-by: Nicolas Pitre <nico@linaro.org>
Diffstat (limited to 'include/linux/irqchip/arm-gic.h')
-rw-r--r--include/linux/irqchip/arm-gic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/irqchip/arm-gic.h b/include/linux/irqchip/arm-gic.h
index 2d7d47e8dfa..8de992f6eae 100644
--- a/include/linux/irqchip/arm-gic.h
+++ b/include/linux/irqchip/arm-gic.h
@@ -77,6 +77,7 @@ static inline void gic_init(unsigned int nr, int start,
int gic_get_cpu_id(unsigned int cpu);
void gic_migrate_target(unsigned int new_cpu_id);
+unsigned long gic_get_sgir_physaddr(void);
#endif /* __ASSEMBLY */