]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Fix SMP poweroff hangs
authorMark Lord <lkml@rtr.ca>
Mon, 1 Oct 2007 08:20:10 +0000 (01:20 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 10 Oct 2007 17:50:16 +0000 (10:50 -0700)
commit433d028c427f90a2ab38b6eab752e19cd1ac9981
tree0a657ada026a6c4e52582e89fbb3536f507ce9a3
parent2c0cf342f6fc11e6de814464c035a37d8c17fb17
Fix SMP poweroff hangs

commit 4047727e5ae33f9b8d2b7766d1994ea6e5ec2991 from upstream

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/sys.c