aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-realview/core.h
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2008-02-04 17:41:01 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-02-04 17:52:25 +0000
commitc4057f5260650f165054bc56e16acc4aa0510d4f (patch)
tree8f1bf4de169c49fc61dd6dc0717b1d184c067d39 /arch/arm/mach-realview/core.h
parent7dd19e755dbe481ae42590dbd921dfd47e94779c (diff)
[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>
Diffstat (limited to 'arch/arm/mach-realview/core.h')
-rw-r--r--arch/arm/mach-realview/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-realview/core.h b/arch/arm/mach-realview/core.h
index 9206db7b80b..1c091372be6 100644
--- a/arch/arm/mach-realview/core.h
+++ b/arch/arm/mach-realview/core.h
@@ -52,6 +52,7 @@ extern struct mmc_platform_data realview_mmc0_plat_data;
extern struct mmc_platform_data realview_mmc1_plat_data;
extern struct clk realview_clcd_clk;
extern struct clcd_board clcd_plat_data;
+extern void __iomem *gic_cpu_base_addr;
extern void realview_leds_event(led_event_t ledevt);