Committer: Michael Beasley <mike@snafu.setup>
[mikesnafu-overlay.git] / include / asm-arm / arch-cl7500 / entry-macro.S
blob038b761fdadcb447a7289121224959943e0bf0e0
1 #include <asm/hardware.h>
2 #include <asm/hardware/entry-macro-iomd.S>
4         .equ    ioc_base_high, IOC_BASE & 0xff000000
5         .equ    ioc_base_low, IOC_BASE & 0x00ff0000
7         .macro  get_irqnr_preamble, base, tmp
8         mov     \base, #ioc_base_high           @ point at IOC
9         .if     ioc_base_low
10         orr     \base, \base, #ioc_base_low
11         .endif
12         .endm
14         .macro  arch_ret_to_user, tmp1, tmp2
15         .endm