]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/arch-realview/entry-macro.S
[ARM] 4816/1: RealView: Move the platform-specific definitions into board-eb.h
[linux-2.6-omap-h63xx.git] / include / asm-arm / arch-realview / entry-macro.S
index 3b4e2076603a5e23eb97f68f20c307ffd2d7384e..629944deed504305066814ce50cb78deb2eb8472 100644 (file)
@@ -9,12 +9,17 @@
  */
 #include <asm/hardware.h>
 #include <asm/hardware/gic.h>
+#include <asm/arch/board-eb.h>
 
                .macro  disable_fiq
                .endm
 
                .macro  get_irqnr_preamble, base, tmp
+#ifdef CONFIG_REALVIEW_MPCORE
+               ldr     \base, =IO_ADDRESS(REALVIEW_EB11MP_GIC_CPU_BASE)
+#else
                ldr     \base, =IO_ADDRESS(REALVIEW_GIC_CPU_BASE)
+#endif
                .endm
 
                .macro  arch_ret_to_user, tmp1, tmp2