projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
706fdd9
)
[PATCH] ARM SMP: add IPI support
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Sat, 21 May 2005 17:16:44 +0000
(18:16 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Sat, 21 May 2005 17:16:44 +0000
(18:16 +0100)
Add support for inter-processor interrupts to the main IRQ
handling code.
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
arch/arm/kernel/entry-armv.S
patch
|
blob
|
history
diff --git
a/arch/arm/kernel/entry-armv.S
b/arch/arm/kernel/entry-armv.S
index 8ff82bc75eb1369d161bd54fb0e3158735f1f019..a99e686c0b83861cbcfa07e0abef044e05a7f8fb 100644
(file)
--- 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
/*