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: https://git.stricted.de/?a=commitdiff_plain;h=40f75879a0dda7025cebc3444c9317ec9e3dcd70;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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), };