diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-05-21 13:16:44 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2005-05-21 13:16:44 -0400 |
commit | 791be9b976ba621b21745c30a7fca225fada9110 (patch) | |
tree | 9e3c8d3a0bbb0b614de7daac35f7452f077464fd /arch | |
parent | 706fdd9faaad5bd52c774190a54c0fd1dfc0f418 (diff) |
[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 @@ | |||
34 | @ | 34 | @ |
35 | adrne lr, 1b | 35 | adrne lr, 1b |
36 | bne asm_do_IRQ | 36 | bne asm_do_IRQ |
37 | |||
38 | #ifdef CONFIG_SMP | ||
39 | /* | ||
40 | * XXX | ||
41 | * | ||
42 | * this macro assumes that irqstat (r6) and base (r5) are | ||
43 | * preserved from get_irqnr_and_base above | ||
44 | */ | ||
45 | test_for_ipi r0, r6, r5, lr | ||
46 | movne r0, sp | ||
47 | adrne lr, 1b | ||
48 | bne do_IPI | ||
49 | #endif | ||
50 | |||
37 | .endm | 51 | .endm |
38 | 52 | ||
39 | /* | 53 | /* |