[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>
This commit is contained in:
Uwe Kleine-König 2007-02-23 20:20:47 +01:00 коммит произвёл Russell King
Родитель dff5e44c36
Коммит 8748415d0d
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -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)]