First Support on Ginger and OMAP TI
[linux-ginger.git] / arch / arm / mach-mmp / include / mach / entry-macro.S
blob6d3cd35478b53a2a6b495247b812a35ac60db3cb
1 /*
2  * linux/arch/arm/mach-mmp/include/mach/entry-macro.S
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
9 #include <mach/regs-icu.h>
11         .macro  disable_fiq
12         .endm
14         .macro  arch_ret_to_user, tmp1, tmp2
15         .endm
17         .macro  get_irqnr_preamble, base, tmp
18         ldr     \base, =ICU_AP_IRQ_SEL_INT_NUM
19         .endm
21         .macro  get_irqnr_and_base, irqnr, irqstat, base, tmp
22         ldr     \tmp, [\base, #0]
23         and     \irqnr, \tmp, #0x3f
24         tst     \tmp, #(1 << 6)
25         .endm