sparc64: Fix race in arch/sparc64/kernel/trampoline.S
authorAndrea Shepard <andrea@persephoneslair.org>
Mon, 20 Oct 2008 06:33:03 +0000 (23:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Oct 2008 04:53:40 +0000 (21:53 -0700)
commite0037df3852b4b60edbe01f70f4968e4a9fdb272
tree44b1c67b743ba4b36bf22a7b4044b2a9b9d1b35a
parent2515ddc6db8eb49a79f0fe5e67ff09ac7c81eab4
sparc64: Fix race in arch/sparc64/kernel/trampoline.S

Make arch/sparc64/kernel/trampoline.S in 2.6.27.1 lock prom_entry_lock
when calling the PROM.  This prevents a race condition that I observed
causing a hang on startup on a 12-CPU E4500.

I am not subscribed to this list, so please CC me on replies.

Signed-off-by: Andrea Shepard <andrea@persephoneslair.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/trampoline.S