diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-01-23 15:19:12 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-01-27 12:30:37 +0100 |
commit | 24774fbdeab8f6ac05a19e81bd645b0f7e5d2bb7 (patch) | |
tree | 0aee50123069585d00ff07348ef74aa6358f47ae /arch/sparc | |
parent | 7424cdf77b1b2975d82619084f20f0055f715166 (diff) | |
download | op-kernel-dev-24774fbdeab8f6ac05a19e81bd645b0f7e5d2bb7.zip op-kernel-dev-24774fbdeab8f6ac05a19e81bd645b0f7e5d2bb7.tar.gz |
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')
-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 cbddeb3..d3c7a12 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 */ |