Skip to content

Commit b44913f

Browse files
Alexander Gordeevhcahca
authored andcommitted
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 <[email protected]> Signed-off-by: Heiko Carstens <[email protected]>
1 parent ff23f8c commit b44913f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

arch/s390/kernel/entry.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ void do_notify_resume(struct pt_regs *regs);
3636
void __init init_IRQ(void);
3737
void do_io_irq(struct pt_regs *regs);
3838
void do_ext_irq(struct pt_regs *regs);
39-
void do_restart(void);
39+
void do_restart(void *arg);
4040
void __init startup_init(void);
4141
void die(struct pt_regs *regs, const char *str);
4242
int setup_profiling_timer(unsigned int multiplier);

arch/s390/kernel/ipl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1849,12 +1849,12 @@ static void __do_restart(void *ignore)
18491849
stop_run(&on_restart_trigger);
18501850
}
18511851

1852-
void do_restart(void)
1852+
void do_restart(void *arg)
18531853
{
18541854
tracing_off();
18551855
debug_locks_off();
18561856
lgr_info_log();
1857-
smp_call_online_cpu(__do_restart, NULL);
1857+
smp_call_online_cpu(__do_restart, arg);
18581858
}
18591859

18601860
/* on halt */

0 commit comments

Comments
 (0)