[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>
Showing
- arch/arm/mach-realview/core.c 3 additions, 0 deletionsarch/arm/mach-realview/core.c
- arch/arm/mach-realview/core.h 1 addition, 0 deletionsarch/arm/mach-realview/core.h
- arch/arm/mach-realview/realview_eb.c 4 additions, 2 deletionsarch/arm/mach-realview/realview_eb.c
- include/asm-arm/arch-realview/entry-macro.S 2 additions, 6 deletionsinclude/asm-arm/arch-realview/entry-macro.S
Please register or sign in to comment