]> git.baikalelectronics.ru Git - kernel.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)
commit0f0af81b85a328ddc5279e20ac026ef338e06b5a
tree0f6b22ad7db5f55a435ccbda1989af24fda9300a
parentbbbd186a52e8d0003a8e89103ade9739499fee87
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