mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 06:04:14 +08:00
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>
This commit is contained in:
parent
ff23f8c970
commit
b44913fceb
@ -36,7 +36,7 @@ void do_notify_resume(struct pt_regs *regs);
|
||||
void __init init_IRQ(void);
|
||||
void do_io_irq(struct pt_regs *regs);
|
||||
void do_ext_irq(struct pt_regs *regs);
|
||||
void do_restart(void);
|
||||
void do_restart(void *arg);
|
||||
void __init startup_init(void);
|
||||
void die(struct pt_regs *regs, const char *str);
|
||||
int setup_profiling_timer(unsigned int multiplier);
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user