diff options
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2013-07-21 15:17:54 +0000 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2013-07-23 12:22:47 +0000 |
commit | 2451ade070ef9b0a0f118ac41896da856e72b5a1 (patch) | |
tree | 81accaf88ba05cb0292a3c2f6ca7904c76945972 /arch/arm/xen | |
parent | 3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b (diff) | |
download | lwn-2451ade070ef9b0a0f118ac41896da856e72b5a1.tar.gz lwn-2451ade070ef9b0a0f118ac41896da856e72b5a1.zip |
xen/arm,arm64: update xen_restart after ff701306cd49 and 7b6d864b48d9
Commit 7b6d864b48d9 (reboot: arm: change reboot_mode to use enum
reboot_mode) and ff701306cd49 (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>
Diffstat (limited to 'arch/arm/xen')
-rw-r--r-- | arch/arm/xen/enlighten.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/xen/enlighten.c b/arch/arm/xen/enlighten.c index f71c37edca26..c9770ba5c7df 100644 --- a/arch/arm/xen/enlighten.c +++ b/arch/arm/xen/enlighten.c @@ -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; |