浏览代码

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>
Robert P. J. Day 17 年之前
父节点
当前提交
40f75879a0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/sh/kernel/smp.c

+ 1 - 1
arch/sh/kernel/smp.c

@@ -179,7 +179,7 @@ void smp_send_stop(void)
 }
 }
 
 
 struct smp_fn_call_struct smp_fn_call = {
 struct smp_fn_call_struct smp_fn_call = {
-	.lock		= SPIN_LOCK_UNLOCKED,
+	.lock		= __SPIN_LOCK_UNLOCKED(smp_fn_call.lock),
 	.finished	= ATOMIC_INIT(0),
 	.finished	= ATOMIC_INIT(0),
 };
 };