]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit72ded678580ab9edb5c246bc3d97386f19e3bcec
tree7f33055727cea1703a9cd80a70a1798df11a3e23
parente2d8fa15face3d85d45e52a9466cac78a801ebd8
MIPS: Remove no longer needed work_on_cpu() call

Since commit 354a9025185a ("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