irq_work: Remove BUG_ON in irq_work_run()
authorPeter Zijlstra <peterz@infradead.org>
Wed, 25 Jun 2014 05:13:07 +0000 (07:13 +0200)
committerIngo Molnar <mingo@kernel.org>
Sat, 5 Jul 2014 09:17:26 +0000 (11:17 +0200)
commita77353e5eb56b6c6098bfce59aff1f449451b0b7
tree5728e7452061d5edc49059d0c8e97f473e7fea83
parent51da9830d7a58c8f77127c622ee57d453c88af09
irq_work: Remove BUG_ON in irq_work_run()

Because of a collision with 8d056c48e486 ("CPU hotplug, smp: flush any
pending IPI callbacks before CPU offline"), which ends up calling
hotplug_cfd()->flush_smp_call_function_queue()->irq_work_run(), which
is not from IRQ context.

And since that already calls irq_work_run() from the hotplug path,
remove our entire hotplug handling.

Reported-by: Stephen Warren <swarren@wwwdotorg.org>
Tested-by: Stephen Warren <swarren@wwwdotorg.org>
Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/n/tip-busatzs2gvz4v62258agipuf@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/irq_work.c