Revision 4047727e5ae33f9b8d2b7766d1994ea6e5ec2991 authored by Mark Lord on 01 October 2007, 08:20:10 UTC, committed by Linus Torvalds on 01 October 2007, 14:52:23 UTC
We need to disable all CPUs other than the boot CPU (usually 0) before
attempting to power-off modern SMP machines.  This fixes the
hang-on-poweroff issue on my MythTV SMP box, and also on Thomas Gleixner's
new toybox.

Signed-off-by: Mark Lord <mlord@pobox.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 281e0e3
History
File Mode Size
Kconfig -rw-r--r-- 22.4 KB
Makefile -rw-r--r-- 1.0 KB
calibrate.c -rw-r--r-- 4.7 KB
do_mounts.c -rw-r--r-- 10.1 KB
do_mounts.h -rw-r--r-- 1.4 KB
do_mounts_initrd.c -rw-r--r-- 3.0 KB
do_mounts_md.c -rw-r--r-- 7.3 KB
do_mounts_rd.c -rw-r--r-- 10.0 KB
initramfs.c -rw-r--r-- 11.9 KB
main.c -rw-r--r-- 20.6 KB
noinitramfs.c -rw-r--r-- 1.4 KB
version.c -rw-r--r-- 1009 bytes

back to top