kernel-ark/kernel/power
Zhang Rui 2f15fc4bdf pm: schedule sysrq poweroff on boot cpu
schedule sysrq poweroff on boot cpu.

sysrq poweroff needs to disable nonboot cpus, and we need to run this on boot
cpu to avoid any recursion.  http://bugzilla.kernel.org/show_bug.cgi?id=10897

[kosaki.motohiro@jp.fujitsu.com: build fix]
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Tested-by: Rus <harbour@sfinx.od.ua>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-24 10:47:24 -07:00
..
console.c PM/gxfb: add hook to PM console layer that allows disabling of suspend VT switch 2008-04-28 08:58:36 -07:00
disk.c Suspend-related patches for 2.6.27 2008-06-12 14:25:09 -07:00
Kconfig pm: boot time suspend selftest 2008-07-24 10:47:22 -07:00
main.c pm: boot time suspend selftest 2008-07-24 10:47:22 -07:00
Makefile PM: Remove legacy PM 2008-04-15 03:19:07 -04:00
power.h Suspend: Add config option to disable the freezer if architecture wants that 2008-02-01 18:30:58 -05:00
poweroff.c pm: schedule sysrq poweroff on boot cpu 2008-07-24 10:47:24 -07:00
process.c Freezer: Introduce PF_FREEZER_NOSIG 2008-07-16 23:27:03 +02:00
snapshot.c pm: hibernation: simplify memory bitmap 2008-07-24 10:47:23 -07:00
swap.c Hibernation: Update messages 2008-02-01 18:30:55 -05:00
swsusp.c Hibernation: Update messages 2008-02-01 18:30:55 -05:00
user.c snapshot: Use pm_mutex for mutual exclusion 2008-07-16 23:27:03 +02:00