Merge tag 'mips_fixes_4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/jhogan...
[sfrench/cifs-2.6.git] / arch / arm / mach-rpc / include / mach / entry-macro.S
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <mach/hardware.h>
3 #include <asm/hardware/entry-macro-iomd.S>
4
5         .equ    ioc_base_high, IOC_BASE & 0xff000000
6         .equ    ioc_base_low, IOC_BASE & 0x00ff0000
7
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