ARM: SMP: avoid using bitmasks and locks for IPIs, use hardware instead
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 15 Nov 2010 09:54:18 +0000 (09:54 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 3 Dec 2010 08:26:30 +0000 (08:26 +0000)
commit24480d980e9063b3ebd0dfdf2f396c305956c356
tree0be240f0f376c5bfe38700929adab78956edef06
parentad3b6993b9c5482e8a2ec5aed181538c921fdcbd
ARM: SMP: avoid using bitmasks and locks for IPIs, use hardware instead

Avoid using bitmasks and locks in the percpu area for IPIs, and instead
use individual software generated interrupts to identify the reason for
the IPI.  This avoids the problems of having spinlocks in the percpu
area.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/smp.c