MIPS: BMIPS: Migrate interrupts during bmips_cpu_disable
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 31 Oct 2016 21:17:36 +0000 (14:17 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 3 Jan 2017 15:34:40 +0000 (16:34 +0100)
commit51ad4ace97ed5a4e96e60684281066b758e1de8b
treebaef05013d6f21b411abc5e049476ac7db3bc863
parent60067341105d9795f2cf5bd8a19adee34824f1b1
MIPS: BMIPS: Migrate interrupts during bmips_cpu_disable

While we properly disabled the per-CPU timer interrupt, we also need to
make sure that all interrupts that can possibly have this CPU in their
smp_affinity mask also have a chance to see this interrupt migrated to a
CPU not being taken offline.

[ralf@linux-mips.org: Fix merge conflict.]

Fixes: 230b6ff57552 ("MIPS: BMIPS: Mask off timer IRQs when hot-unplugging a CPU")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Cc: cernekee@gmail.com
Cc: jaedon.shin@gmail.com
Cc: justinpopo6@gmail.com
Cc: tglx@linutronix.de
Cc: marc.zyngier@arm.com
Cc: jason@lakedaemon.net
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/14488/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/smp-bmips.c