Linux 5.7.7
[linux/fpc-iii.git] / arch / arm / mach-rpc / include / mach / entry-macro.S
bloba6d1a9f4bb791b946641ceb5dd1e72129eba3758
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <mach/hardware.h>
3 #include <asm/hardware/entry-macro-iomd.S>
5         .equ    ioc_base_high, IOC_BASE & 0xff000000
6         .equ    ioc_base_low, IOC_BASE & 0x00ff0000
8         .macro  get_irqnr_preamble, base, tmp
9         mov     \base, #ioc_base_high           @ point at IOC
10         .if     ioc_base_low
11         orr     \base, \base, #ioc_base_low
12         .endif
13         .endm