projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7424cdf
)
sparc: Replace deprecated spinlock initialization
author
Thomas Gleixner
<tglx@linutronix.de>
Sun, 23 Jan 2011 14:19:12 +0000
(15:19 +0100)
committer
Thomas Gleixner
<tglx@linutronix.de>
Thu, 27 Jan 2011 11:30:37 +0000
(12:30 +0100)
SPIN_LOCK_UNLOCK is deprecated. Use the lockdep capable variant
instead.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: David S. Miller <davem@davemloft.net>
arch/sparc/lib/atomic32.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sparc/lib/atomic32.c
b/arch/sparc/lib/atomic32.c
index cbddeb38ffdab2bf5f25562190dd833bf2f9ded4..d3c7a12ad879a4ed7dba7202417f7dfa1644a64a 100644
(file)
--- a/
arch/sparc/lib/atomic32.c
+++ b/
arch/sparc/lib/atomic32.c
@@
-16,7
+16,7
@@
#define ATOMIC_HASH(a) (&__atomic_hash[(((unsigned long)a)>>8) & (ATOMIC_HASH_SIZE-1)])
spinlock_t __atomic_hash[ATOMIC_HASH_SIZE] = {
- [0 ... (ATOMIC_HASH_SIZE-1)] =
SPIN_LOCK_UNLOCKED
+ [0 ... (ATOMIC_HASH_SIZE-1)] =
__SPIN_LOCK_UNLOCKED(__atomic_hash)
};
#else /* SMP */