SH: Use newer, non-deprecated __SPIN_LOCK_UNLOCKED macro.
authorRobert P. J. Day <rpjday@crashcourse.ca>
Sat, 15 Mar 2008 16:49:10 +0000 (12:49 -0400)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 21 Mar 2008 03:19:07 +0000 (12:19 +0900)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/smp.c

index 94075e1a1e61b485f4e32a094870f5b8de7aa91a..5d039d168f57a4630336e555073d4767246016c1 100644 (file)
@@ -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),
 };