]> git.ipfire.org Git - thirdparty/kernel/stable.git/blobdiff - arch/arm64/kernel/process.c
arm64: use common reboot infrastructure
[thirdparty/kernel/stable.git] / arch / arm64 / kernel / process.c
index 46f02c3b5015ece9b1ca0ab4d57d9540a3288e67..1788bf6b471f63a6fe708cb608039c51fe1e40fa 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.