[PATCH] ARM SMP: add IPI support

Add support for inter-processor interrupts to the main IRQ
handling code.

Signed-off-by: Russell King <rmk@arm.linux.org.uk>
This commit is contained in:
Russell King 2005-05-21 18:16:44 +01:00 committed by Russell King
parent 706fdd9faa
commit 791be9b976
1 changed files with 14 additions and 0 deletions

View File

@ -34,6 +34,20 @@
@
adrne lr, 1b
bne asm_do_IRQ
#ifdef CONFIG_SMP
/*
* XXX
*
* this macro assumes that irqstat (r6) and base (r5) are
* preserved from get_irqnr_and_base above
*/
test_for_ipi r0, r6, r5, lr
movne r0, sp
adrne lr, 1b
bne do_IPI
#endif
.endm
/*