summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2012-11-29 03:17:25 +0400
committerNicolas Pitre <nicolas.pitre@linaro.org>2013-09-24 02:47:28 +0400
commiteeb446581ba23a5a36b4f5c7bfa2b1f8f7c9fb66 (patch)
tree54008c0bc9bde10512f6f2c4c0118740babd39ae /include/linux
parentde885d147ad2c4a66777e3557440247efde1cc8d (diff)
downloadlinux-eeb446581ba23a5a36b4f5c7bfa2b1f8f7c9fb66.tar.xz
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')
-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 46544e381bf9..dc30835099e3 100644
--- a/include/linux/irqchip/arm-gic.h
+++ b/include/linux/irqchip/arm-gic.h
@@ -78,6 +78,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 */