ARM: CPU hotplug: fix reporting of spurious wakeups
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 19 Dec 2010 11:30:43 +0000 (11:30 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 20 Dec 2010 15:09:14 +0000 (15:09 +0000)
The original scheme for reporting spurious wakeups was broken - it
tried to use printk() from a context which wasn't coherent with the
other CPUs, which risks corrupting the printk() data.

Fix this by noting the number spurious wakeups, and only report them
when we are properly woken - when we will be coherent with the rest
of the system.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-realview/hotplug.c
arch/arm/mach-s5pv310/hotplug.c
arch/arm/mach-tegra/hotplug.c

Simple merge
Simple merge
Simple merge