mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 16:37:50 +00:00
xen/arm,arm64: update xen_restart after ff701306cd
and 7b6d864b48
Commit7b6d864b48
(reboot: arm: change reboot_mode to use enum reboot_mode) andff701306cd
(arm64: use common reboot infrastructure) change the prototype of arm_pm_restart on arm and arm64. Update xen_restart accordingly. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
This commit is contained in:
parent
3b2f64d00c
commit
2451ade070
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ static void __init xen_percpu_init(void *unused)
|
||||||
enable_percpu_irq(xen_events_irq, 0);
|
enable_percpu_irq(xen_events_irq, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void xen_restart(char str, const char *cmd)
|
static void xen_restart(enum reboot_mode reboot_mode, const char *cmd)
|
||||||
{
|
{
|
||||||
struct sched_shutdown r = { .reason = SHUTDOWN_reboot };
|
struct sched_shutdown r = { .reason = SHUTDOWN_reboot };
|
||||||
int rc;
|
int rc;
|
||||||
|
|
Loading…
Reference in a new issue