MIPS: Remove no longer needed work_on_cpu() call
authorAnna-Maria Gleixner <anna-maria@linutronix.de>
Mon, 2 May 2016 09:00:49 +0000 (11:00 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:02:17 +0000 (14:02 +0200)
commit015aa05f534adabff2e4380f5ae6ea0fe20ec321
tree7f33055727cea1703a9cd80a70a1798df11a3e23
parente8b5325ca3d01c512be6f04d587869a01e0ea59f
MIPS: Remove no longer needed work_on_cpu() call

Since commit 3b9d6da67e11 ("cpu/hotplug: Fix rollback during error-out
in __cpu_disable()") it is ensured that callbacks of CPU_ONLINE and
CPU_DOWN_PREPARE are processed on the hotplugged CPU. Due to this
work_on_cpu() calls are no longer required.

Replace work_on_cpu() with a direct call of mips_cdmm_bus_up() or
mips_cdmm_bus_down(). Description of those functions are adapted.

Signed-off-by: Anna-Maria Gleixner <anna-maria@linutronix.de>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: rt@linutronix.de
Patchwork: https://patchwork.linux-mips.org/patch/13197/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/bus/mips_cdmm.c