1
0
Fork 0

[ARM] 4234/1: Introduce get_irqnr_preamble and arch_ret_to_user for ns9xxx.

This is a follow up for f80dff9da0 which
didn't include adaption for the new ns9xxx machine support.

Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
hifive-unleashed-5.1
Uwe Kleine-König 2007-02-23 20:20:47 +01:00 committed by Russell King
parent dff5e44c36
commit 8748415d0d
1 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,12 @@
#include <asm/hardware.h>
#include <asm/arch-ns9xxx/regs-sys.h>
.macro get_irqnr_preamble, base, tmp
.endm
.macro arch_ret_to_user, tmp1, tmp2
.endm
.macro get_irqnr_and_base, irqnr, irqstat, base, tmp
ldr \base, =SYS_ISRADDR
ldr \irqstat, [\base, #(SYS_ISA - SYS_ISRADDR)]