diff options
author | 2015-03-25 10:25:43 -0700 | |
---|---|---|
committer | 2015-04-01 17:21:58 +0200 | |
commit | ea925a72a271f6868dddef98426b396f110da211 (patch) | |
tree | f22ab20639cefba3ff69a2b3e245ac5baf8ce936 /arch/mips/kernel/reset.c | |
parent | MIPS: ath79: Increase max memory limit to 256MByte (diff) | |
download | wireguard-linux-ea925a72a271f6868dddef98426b396f110da211.tar.xz wireguard-linux-ea925a72a271f6868dddef98426b396f110da211.zip |
MIPS: smp: Make stop_this_cpu() actually stop the CPU
Since cpu_wait() enables interrupts upon return, CPUs which have
entered stop_this_cpu() may still end up handling interrupts.
This can lead to the softlockup detector firing on a panic or
restart/poweroff/halt. Just disable interrupts and spin to ensure
nothing else runs on the CPU once it has entered stop_this_cpu().
Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Maciej W. Rozycki <macro@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/9601/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/reset.c')
0 files changed, 0 insertions, 0 deletions