Skip to content
Snippets Groups Projects
user avatar
Zhang Rui authored
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: default avatarZhang Rui <rui.zhang@intel.com>
Tested-by: default avatarRus <harbour@sfinx.od.ua>
Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
2f15fc4b
History
Name Last commit Last update