revert android-tegra-2.6.36-honeycomb-mr1-9001adc to v2.6.36
[firefly-linux-kernel-4.4.55.git] / arch / x86 / xen / enlighten.c
index 0f6cd146f1ee4e62d998399b13c3980c08622c5a..7d46c84414188bf401777e4d65a9652e5cc09fa5 100644 (file)
@@ -1017,6 +1017,10 @@ static void xen_reboot(int reason)
 {
        struct sched_shutdown r = { .reason = reason };
 
+#ifdef CONFIG_SMP
+       smp_send_stop();
+#endif
+
        if (HYPERVISOR_sched_op(SCHEDOP_shutdown, &r))
                BUG();
 }