Commit 791be9b9 authored by Russell King's avatar Russell King Committed by Russell King

[PATCH] ARM SMP: add IPI support

Add support for inter-processor interrupts to the main IRQ
handling code.
Signed-off-by: default avatarRussell King <rmk@arm.linux.org.uk>
parent 706fdd9f
...@@ -34,6 +34,20 @@ ...@@ -34,6 +34,20 @@
@ @
adrne lr, 1b adrne lr, 1b
bne asm_do_IRQ 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 .endm
/* /*
......
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