From: Andrew Bresticker Date: Wed, 25 Mar 2015 17:25:43 +0000 (-0700) Subject: MIPS: smp: Make stop_this_cpu() actually stop the CPU X-Git-Tag: omap-for-v4.1/fixes-rc1~111^2~115 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea925a72a271f6868dddef98426b396f110da211;p=pandora-kernel.git 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 Cc: James Hogan Cc: Maciej W. Rozycki 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 --- Reading git-diff-tree failed