aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/smp.c
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2008-03-15 12:49:10 -0400
committerPaul Mundt <lethal@linux-sh.org>2008-03-21 12:19:07 +0900
commit40f75879a0dda7025cebc3444c9317ec9e3dcd70 (patch)
treef61f81e478666c629ef2a683c6c787311edcc454 /arch/sh/kernel/smp.c
parentsh: Fix more user header breakage from sh64 integration. (diff)
downloadlinux-dev-40f75879a0dda7025cebc3444c9317ec9e3dcd70.tar.xz
linux-dev-40f75879a0dda7025cebc3444c9317ec9e3dcd70.zip
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>
Diffstat (limited to 'arch/sh/kernel/smp.c')
-rw-r--r--arch/sh/kernel/smp.c2
1 files changed, 1 insertions, 1 deletions
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),
};