]> Pileus Git - ~andy/linux/commitdiff
xen/arm,arm64: update xen_restart after ff701306cd49 and 7b6d864b48d9
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Sun, 21 Jul 2013 15:17:54 +0000 (15:17 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 23 Jul 2013 12:22:47 +0000 (12:22 +0000)
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>
arch/arm/xen/enlighten.c

index f71c37edca263a88038199514995cf92d8b79d9e..c9770ba5c7df5c3b68c909c32db7fa2fb7be39f1 100644 (file)
@@ -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;