]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/arch-realview/entry-macro.S
[ARM] Remove asm/hardware.h, use asm/arch/hardware.h instead
[linux-2.6-omap-h63xx.git] / include / asm-arm / arch-realview / entry-macro.S
index 6288fad0dc4182f9ebd4409b443cce684016c28d..31a39a7cdaa9228d7e24e0a611b700bc9aab874c 100644 (file)
@@ -7,12 +7,20 @@
  * License version 2. This program is licensed "as is" without any
  * warranty of any kind, whether express or implied.
  */
-
+#include <asm/arch/hardware.h>
 #include <asm/hardware/gic.h>
 
                .macro  disable_fiq
                .endm
 
+               .macro  get_irqnr_preamble, base, tmp
+               ldr     \base, =gic_cpu_base_addr
+               ldr     \base, [\base]
+               .endm
+
+               .macro  arch_ret_to_user, tmp1, tmp2
+               .endm
+
                /*
                 * The interrupt numbering scheme is defined in the
                 * interrupt controller spec.  To wit:
@@ -34,7 +42,6 @@
 
                .macro  get_irqnr_and_base, irqnr, irqstat, base, tmp
 
-               ldr     \base, =IO_ADDRESS(REALVIEW_GIC_CPU_BASE)
                ldr     \irqstat, [\base, #GIC_CPU_INTACK] /* bits 12-10 = src CPU, 9-0 = int # */
 
                ldr     \tmp, =1021