Skip to content

Commit

Permalink
[PATCH] ARM SMP: add IPI support
Browse files Browse the repository at this point in the history
Add support for inter-processor interrupts to the main IRQ
handling code.

Signed-off-by: Russell King <rmk@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed May 21, 2005
1 parent 706fdd9 commit 791be9b
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions arch/arm/kernel/entry-armv.S
Original file line number Diff line number Diff line change
Expand Up @@ -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

/*
Expand Down

0 comments on commit 791be9b

Please sign in to comment.