commit | 40f75879a0dda7025cebc3444c9317ec9e3dcd70 | [log] [tgz] |
---|---|---|
author | Robert P. J. Day <rpjday@crashcourse.ca> | Sat Mar 15 12:49:10 2008 -0400 |
committer | Paul Mundt <lethal@linux-sh.org> | Fri Mar 21 12:19:07 2008 +0900 |
tree | f61f81e478666c629ef2a683c6c787311edcc454 | |
parent | 6dba1b67601685ff00ef5d08cc4f11db00cff598 [diff] |
SH: Use newer, non-deprecated __SPIN_LOCK_UNLOCKED macro. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
diff --git a/arch/sh/kernel/smp.c b/arch/sh/kernel/smp.c index 94075e1..5d039d1 100644 --- a/arch/sh/kernel/smp.c +++ b/arch/sh/kernel/smp.c
@@ -179,7 +179,7 @@ } struct smp_fn_call_struct smp_fn_call = { - .lock = SPIN_LOCK_UNLOCKED, + .lock = __SPIN_LOCK_UNLOCKED(smp_fn_call.lock), .finished = ATOMIC_INIT(0), };