diff options
author | Alexander Gordeev <agordeev@linux.ibm.com> | 2021-04-06 18:38:11 +0300 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2021-04-18 22:32:02 +0300 |
commit | b44913fceb1324be8eaefa8a96c9ae5d368b39c5 (patch) | |
tree | aba6aba078bd1d0a88131eb0d889f7c50825e361 /arch/s390/kernel/ipl.c | |
parent | ff23f8c970ab79238d9777f3d0d886eff13f7c06 (diff) | |
download | linux-b44913fceb1324be8eaefa8a96c9ae5d368b39c5.tar.xz |
s390/smp: fix do_restart() prototype
Funciton do_restart() is a callback invoked from the
restart CPU routine and passed a single parameter.
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/kernel/ipl.c')
-rw-r--r-- | arch/s390/kernel/ipl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/kernel/ipl.c b/arch/s390/kernel/ipl.c index 7a21eca498aa..dba04fbc37a2 100644 --- a/arch/s390/kernel/ipl.c +++ b/arch/s390/kernel/ipl.c @@ -1849,12 +1849,12 @@ static void __do_restart(void *ignore) stop_run(&on_restart_trigger); } -void do_restart(void) +void do_restart(void *arg) { tracing_off(); debug_locks_off(); lgr_info_log(); - smp_call_online_cpu(__do_restart, NULL); + smp_call_online_cpu(__do_restart, arg); } /* on halt */ |