]> git.baikalelectronics.ru Git - kernel.git/commit
sparc: Make atomic locks raw
authorThomas Gleixner <tglx@linutronix.de>
Sat, 7 Nov 2009 06:16:32 +0000 (22:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Nov 2009 06:16:32 +0000 (22:16 -0800)
commit0862939b0d0fb1b78cbf70591147e9eb7101617a
tree70a3339e7e1d615331e5ab0a845cb24303209f68
parent2746d329f740fc6913033cf6cd23d522400007c6
sparc: Make atomic locks raw

SPIN_LOCK_UNLOCKED is deprecated and the locks which protect the
atomic operations have no dependency on other locks and the code is
well tested so the conversion to a raw lock is safe.

Make the lock array static while at it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/lib/atomic32.c