diff options
Diffstat (limited to 'include/asm-arm/arch-realview/entry-macro.S')
-rw-r--r-- | include/asm-arm/arch-realview/entry-macro.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-arm/arch-realview/entry-macro.S b/include/asm-arm/arch-realview/entry-macro.S index 3b4e2076603a..629944deed50 100644 --- a/include/asm-arm/arch-realview/entry-macro.S +++ b/include/asm-arm/arch-realview/entry-macro.S | |||
@@ -9,12 +9,17 @@ | |||
9 | */ | 9 | */ |
10 | #include <asm/hardware.h> | 10 | #include <asm/hardware.h> |
11 | #include <asm/hardware/gic.h> | 11 | #include <asm/hardware/gic.h> |
12 | #include <asm/arch/board-eb.h> | ||
12 | 13 | ||
13 | .macro disable_fiq | 14 | .macro disable_fiq |
14 | .endm | 15 | .endm |
15 | 16 | ||
16 | .macro get_irqnr_preamble, base, tmp | 17 | .macro get_irqnr_preamble, base, tmp |
18 | #ifdef CONFIG_REALVIEW_MPCORE | ||
19 | ldr \base, =IO_ADDRESS(REALVIEW_EB11MP_GIC_CPU_BASE) | ||
20 | #else | ||
17 | ldr \base, =IO_ADDRESS(REALVIEW_GIC_CPU_BASE) | 21 | ldr \base, =IO_ADDRESS(REALVIEW_GIC_CPU_BASE) |
22 | #endif | ||
18 | .endm | 23 | .endm |
19 | 24 | ||
20 | .macro arch_ret_to_user, tmp1, tmp2 | 25 | .macro arch_ret_to_user, tmp1, tmp2 |