aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/reboot.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2012-06-20 08:22:32 -0400
committerIngo Molnar <mingo@kernel.org>2012-06-20 08:22:34 -0400
commit6a991acceedce3ca93caef8ba7af2468c9451614 (patch)
tree1997d71fc57bdebd12fc70a73070281614b52f15 /arch/x86/kernel/reboot.c
parent70fb74a5420f9caa3e001d65004e4b669124283e (diff)
parent485802a6c524e62b5924849dd727ddbb1497cc71 (diff)
Merge commit 'v3.5-rc3' into x86/debug
Merge it in to pick up a fix that we are going to clean up in this branch. Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/reboot.c')
-rw-r--r--arch/x86/kernel/reboot.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/x86/kernel/reboot.c b/arch/x86/kernel/reboot.c
index ab3f06260712..10ae9be07b47 100644
--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -643,9 +643,11 @@ void native_machine_shutdown(void)
643 set_cpus_allowed_ptr(current, cpumask_of(reboot_cpu_id)); 643 set_cpus_allowed_ptr(current, cpumask_of(reboot_cpu_id));
644 644
645 /* 645 /*
646 * O.K Now that I'm on the appropriate processor, 646 * O.K Now that I'm on the appropriate processor, stop all of the
647 * stop all of the others. 647 * others. Also disable the local irq to not receive the per-cpu
648 * timer interrupt which may trigger scheduler's load balance.
648 */ 649 */
650 local_irq_disable();
649 stop_other_cpus(); 651 stop_other_cpus();
650#endif 652#endif
651 653