]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-arm/arch-rpc/entry-macro.S
checkpatch: usb_free_urb() can take NULL
[linux-2.6-omap-h63xx.git] / include / asm-arm / arch-rpc / entry-macro.S
index 0cfb89b229d18da94b1595aa4d429b1d24a5f7ab..038b761fdadcb447a7289121224959943e0bf0e0 100644 (file)
@@ -1,6 +1,14 @@
 #include <asm/hardware.h>
 #include <asm/hardware/entry-macro-iomd.S>
+
+       .equ    ioc_base_high, IOC_BASE & 0xff000000
+       .equ    ioc_base_low, IOC_BASE & 0x00ff0000
+
        .macro  get_irqnr_preamble, base, tmp
+       mov     \base, #ioc_base_high           @ point at IOC
+       .if     ioc_base_low
+       orr     \base, \base, #ioc_base_low
+       .endif
        .endm
 
        .macro  arch_ret_to_user, tmp1, tmp2