[ARM] 4819/1: RealView: Fix entry-macro.S to work with multiple platforms
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 4 Feb 2008 16:41:01 +0000 (17:41 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 4 Feb 2008 17:52:25 +0000 (17:52 +0000)
commitc4057f5260650f165054bc56e16acc4aa0510d4f
tree8f1bf4de169c49fc61dd6dc0717b1d184c067d39
parent7dd19e755dbe481ae42590dbd921dfd47e94779c
[ARM] 4819/1: RealView: Fix entry-macro.S to work with multiple platforms

This patch modifies the get_irqnr_preamble macro to work with multiple
platforms at run-time by reading the address of the GIC controller from
the gic_cpu_base_addr variable. This variable is defined in core.c and
intialised in realview_eb.c (gic_init_irq).

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-realview/core.c
arch/arm/mach-realview/core.h
arch/arm/mach-realview/realview_eb.c
include/asm-arm/arch-realview/entry-macro.S