diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-01-23 17:19:12 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-01-27 14:30:37 +0300 |
commit | 24774fbdeab8f6ac05a19e81bd645b0f7e5d2bb7 (patch) | |
tree | 0aee50123069585d00ff07348ef74aa6358f47ae /arch/sparc/lib | |
parent | 7424cdf77b1b2975d82619084f20f0055f715166 (diff) | |
download | linux-24774fbdeab8f6ac05a19e81bd645b0f7e5d2bb7.tar.xz |
sparc: Replace deprecated spinlock initialization
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>
Diffstat (limited to 'arch/sparc/lib')
-rw-r--r-- | arch/sparc/lib/atomic32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/lib/atomic32.c b/arch/sparc/lib/atomic32.c index cbddeb38ffda..d3c7a12ad879 100644 --- 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 */ |