]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
powerpc/pasemi: Use raw spinlock in SMP TB sync
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 16 Jun 2009 16:42:51 +0000 (16:42 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 26 Jun 2009 06:55:34 +0000 (16:55 +1000)
commit6893ce6c1cdcf489b7ca8e6b6596208aa971a083
tree0f6b22ad7db5f55a435ccbda1989af24fda9300a
parentc4007a2fbf5f82b7e694c22b5929c87e38415a56
powerpc/pasemi: Use raw spinlock in SMP TB sync

spin_lock() can hang if called while the timebase is frozen,
so use a raw lock instead, also disable interrupts while
at it.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pasemi/setup.c