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)
commit4df286e52917c95c415400367cfd523dfbb0f93a
tree70a3339e7e1d615331e5ab0a845cb24303209f68
parentddaf1b27edf72372242d752730d526b79312a44e
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