Commit 2451ade0 authored by Stefano Stabellini's avatar Stefano Stabellini

xen/arm,arm64: update xen_restart after ff701306 and 7b6d864b

Commit 7b6d864b (reboot: arm: change reboot_mode to use enum
reboot_mode) and ff701306 (arm64: use common reboot infrastructure)
change the prototype of arm_pm_restart on arm and arm64.
Update xen_restart accordingly.
Signed-off-by: default avatarStefano Stabellini <>
parent 3b2f64d0
......@@ -172,7 +172,7 @@ static void __init xen_percpu_init(void *unused)
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 };
int rc;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment