diff --git a/[refs] b/[refs] index aedea3901fb3..0a039ca29b12 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c1a220e7acf8ad2c03504891f4a70cd9c32c904b +refs/heads/master: 2f15fc4bdf91eb399da3f47a09c55831d9f22826 diff --git a/trunk/kernel/power/poweroff.c b/trunk/kernel/power/poweroff.c index 678ec736076b..72016f051477 100644 --- a/trunk/kernel/power/poweroff.c +++ b/trunk/kernel/power/poweroff.c @@ -10,6 +10,7 @@ #include #include #include +#include /* * When the user hits Sys-Rq o to power down the machine this is the @@ -25,7 +26,8 @@ static DECLARE_WORK(poweroff_work, do_poweroff); static void handle_poweroff(int key, struct tty_struct *tty) { - schedule_work(&poweroff_work); + /* run sysrq poweroff on boot cpu */ + schedule_work_on(first_cpu(cpu_online_map), &poweroff_work); } static struct sysrq_key_op sysrq_poweroff_op = {