MIPS: Use common outgoing-CPU-notification code
authorMarcin Nowakowski <marcin.nowakowski@imgtec.com>
Fri, 7 Apr 2017 11:40:28 +0000 (13:40 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 12 Apr 2017 11:52:14 +0000 (13:52 +0200)
commit1f83f5e42b5b17f844955b49e986c3f1f187dd54
tree9ebb381797b435e6bb54070bfdb8e50d67c6ed9c
parent8bcd84a4a37c88d8304ca3a64f0461a51487e239
MIPS: Use common outgoing-CPU-notification code

Replace the open-coded CPU-offline notification with common code.
In particular avoid calling scheduler code using RCU from an offline CPU
that RCU is ignoring.

Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/15921/
Patchwork: https://patchwork.linux-mips.org/patch/15953/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/smp-cps.c