diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2012-07-05 21:33:26 -0400 |
---|---|---|
committer | Nicolas Pitre <nicolas.pitre@linaro.org> | 2013-05-13 19:02:06 -0400 |
commit | 8377eace77f29520928b6c675ead3c9a2bac10f3 (patch) | |
tree | 3ca8062d06441a9f632e0ee055af6f5d527c7238 /include | |
parent | 8f4f5923eee935287e777a489c185e2517a89534 (diff) |
ARM: bL_switcher: do not hardcode GIC IDs in the code
Currently, GIC IDs are hardcoded making the code dependent on the x4 b.L
configuration. Let's allow for GIC IDs to be discovered upon switcher
initialization to support other b.L configurations such as the x1 one.
Signed-off-by: Nicolas Pitre <nico@linaro.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/irqchip/arm-gic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/irqchip/arm-gic.h b/include/linux/irqchip/arm-gic.h index b1f802fbd18..d160bb7a371 100644 --- a/include/linux/irqchip/arm-gic.h +++ b/include/linux/irqchip/arm-gic.h @@ -76,6 +76,7 @@ static inline void gic_init(unsigned int nr, int start, gic_init_bases(nr, start, dist, cpu, 0, NULL); } +int gic_get_cpu_id(unsigned int cpu); void gic_migrate_target(unsigned int new_cpu_id); #endif /* __ASSEMBLY */ |