]> git.karo-electronics.de Git - linux-beck.git/blobdiff - arch/arm64/kernel/process.c
Merge tag 'restart-handler-for-v3.18' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-beck.git] / arch / arm64 / kernel / process.c
index 89f41f7d27dd2bc54da37bd850f5437f86b19630..c3065dbc4fa269bafbb0b93f5a458d0534ae2bc5 100644 (file)
@@ -72,7 +72,6 @@ void (*pm_power_off)(void);
 EXPORT_SYMBOL_GPL(pm_power_off);
 
 void (*arm_pm_restart)(enum reboot_mode reboot_mode, const char *cmd);
-EXPORT_SYMBOL_GPL(arm_pm_restart);
 
 /*
  * This is our default idle handler.
@@ -154,6 +153,8 @@ void machine_restart(char *cmd)
        /* Now call the architecture specific reboot code. */
        if (arm_pm_restart)
                arm_pm_restart(reboot_mode, cmd);
+       else
+               do_kernel_restart(cmd);
 
        /*
         * Whoops - the architecture was unable to reboot.