From: Robert P. J. Day Date: Sat, 15 Mar 2008 16:49:10 +0000 (-0400) Subject: SH: Use newer, non-deprecated __SPIN_LOCK_UNLOCKED macro. X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=40f75879a0dda7025cebc3444c9317ec9e3dcd70;p=openwrt%2Fstaging%2Fblogic.git SH: Use newer, non-deprecated __SPIN_LOCK_UNLOCKED macro. Signed-off-by: Robert P. J. Day Signed-off-by: Paul Mundt --- diff --git a/arch/sh/kernel/smp.c b/arch/sh/kernel/smp.c index 94075e1a1e61..5d039d168f57 100644 --- a/arch/sh/kernel/smp.c +++ b/arch/sh/kernel/smp.c @@ -179,7 +179,7 @@ void smp_send_stop(void) } struct smp_fn_call_struct smp_fn_call = { - .lock = SPIN_LOCK_UNLOCKED, + .lock = __SPIN_LOCK_UNLOCKED(smp_fn_call.lock), .finished = ATOMIC_INIT(0), };