arm64: use common reboot infrastructure
[cascardo/linux.git] / arch / arm64 / kernel / process.c
index 46f02c3..1788bf6 100644 (file)
@@ -132,7 +132,7 @@ void machine_restart(char *cmd)
 
        /* Now call the architecture specific reboot code. */
        if (arm_pm_restart)
-               arm_pm_restart('h', cmd);
+               arm_pm_restart(reboot_mode, cmd);
 
        /*
         * Whoops - the architecture was unable to reboot.