mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 21:36:41 +07:00
641e79129a
Use the new get_irqnr_preamble macro to move the address of the IRQ controller outside the IRQ handling loop. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
17 lines
351 B
ArmAsm
17 lines
351 B
ArmAsm
#include <asm/hardware.h>
|
|
#include <asm/hardware/entry-macro-iomd.S>
|
|
|
|
.equ ioc_base_high, IOC_BASE & 0xff000000
|
|
.equ ioc_base_low, IOC_BASE & 0x00ff0000
|
|
|
|
.macro get_irqnr_preamble, base, tmp
|
|
mov \base, #ioc_base_high @ point at IOC
|
|
.if ioc_base_low
|
|
orr \base, \base, #ioc_base_low
|
|
.endif
|
|
.endm
|
|
|
|
.macro arch_ret_to_user, tmp1, tmp2
|
|
.endm
|
|
|