Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -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

/*