Merge remote-tracking branch 'moduleh/module.h-split'
[linux-2.6/next.git] / arch / arm / mach-nuc93x / include / mach / entry-macro.S
blob1352cbda3797ebe000508b1a804a2127f9205ce9
1 /*
2  * arch/arm/mach-nuc93x/include/mach/entry-macro.S
3  *
4  * This file is licensed under  the terms of the GNU General Public
5  * License version 2. This program is licensed "as is" without any
6  * warranty of any kind, whether express or implied.
7  *
8  */
10 #include <mach/hardware.h>
11 #include <mach/regs-irq.h>
13         .macro  get_irqnr_preamble, base, tmp
14         .endm
16         .macro  arch_ret_to_user, tmp1, tmp2
17         .endm
19         .macro  get_irqnr_and_base, irqnr, irqstat, base, tmp
21                 mov     \base, #AIC_BA
23                 ldr     \irqnr, [ \base, #AIC_IPER]
24                 ldr     \irqnr, [ \base, #AIC_ISNR]
25                 cmp     \irqnr, #0
27         .endm
29         /* currently don't need an disable_fiq macro */
31         .macro  disable_fiq
32         .endm