Commit 40f75879 authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Paul Mundt

SH: Use newer, non-deprecated __SPIN_LOCK_UNLOCKED macro.

Signed-off-by: default avatarRobert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 6dba1b67
...@@ -179,7 +179,7 @@ void smp_send_stop(void) ...@@ -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),
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment