Commit 8748415d authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Russell King

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

This is a follow up for f80dff9d which
didn't include adaption for the new ns9xxx machine support.
Signed-off-by: default avatarUwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent dff5e44c
...@@ -11,6 +11,12 @@ ...@@ -11,6 +11,12 @@
#include <asm/hardware.h> #include <asm/hardware.h>
#include <asm/arch-ns9xxx/regs-sys.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 .macro get_irqnr_and_base, irqnr, irqstat, base, tmp
ldr \base, =SYS_ISRADDR ldr \base, =SYS_ISRADDR
ldr \irqstat, [\base, #(SYS_ISA - SYS_ISRADDR)] ldr \irqstat, [\base, #(SYS_ISA - SYS_ISRADDR)]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment