mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
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>
This commit is contained in:
parent
6dba1b6760
commit
40f75879a0
@ -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),
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user