aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/ipl.c
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@linux.ibm.com>2021-04-06 17:38:11 +0200
committerHeiko Carstens <hca@linux.ibm.com>2021-04-18 21:32:02 +0200
commitb44913fceb1324be8eaefa8a96c9ae5d368b39c5 (patch)
treeaba6aba078bd1d0a88131eb0d889f7c50825e361 /arch/s390/kernel/ipl.c
parents390: get rid of oprofile leftovers (diff)
downloadlinux-dev-b44913fceb1324be8eaefa8a96c9ae5d368b39c5.tar.xz
linux-dev-b44913fceb1324be8eaefa8a96c9ae5d368b39c5.zip
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.c4
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 */