diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-05-21 18:16:44 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-05-21 18:16:44 +0100 |
commit | 791be9b976ba621b21745c30a7fca225fada9110 (patch) | |
tree | 9e3c8d3a0bbb0b614de7daac35f7452f077464fd /arch | |
parent | 706fdd9faaad5bd52c774190a54c0fd1dfc0f418 (diff) | |
download | blackbird-op-linux-791be9b976ba621b21745c30a7fca225fada9110.tar.gz blackbird-op-linux-791be9b976ba621b21745c30a7fca225fada9110.zip |
[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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/kernel/entry-armv.S | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/kernel/entry-armv.S b/arch/arm/kernel/entry-armv.S index 8ff82bc75eb1..a99e686c0b83 100644 --- a/arch/arm/kernel/entry-armv.S +++ b/arch/arm/kernel/entry-armv.S @@ -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 /* |