]> Pileus Git - ~andy/linux/blobdiff - include/asm-arm/arch-ns9xxx/entry-macro.S
ns9xxx: Use get_irqnr_preamble to initialize base register
[~andy/linux] / include / asm-arm / arch-ns9xxx / entry-macro.S
index 86aec87303e46c2d2b1be533348d6d745f050731..5c706dd2379c8035805a80e0e562e86412d77fc9 100644 (file)
 #include <asm/arch-ns9xxx/regs-sys.h>
 
                .macro  get_irqnr_preamble, base, tmp
+               ldr     \base, =SYS_ISRADDR
                .endm
 
                .macro  arch_ret_to_user, tmp1, tmp2
                .endm
 
                .macro  get_irqnr_and_base, irqnr, irqstat, base, tmp
-               ldr     \base, =SYS_ISRADDR
                ldr     \irqstat, [\base, #(SYS_ISA - SYS_ISRADDR)]
                cmp     \irqstat, #0
                ldrne   \irqnr, [\base]