sched, mips, ia64: Remove __ARCH_WANT_UNLOCKED_CTXSW
authorPeter Zijlstra <peterz@infradead.org>
Tue, 23 Sep 2014 15:06:41 +0000 (17:06 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 24 Sep 2014 12:47:05 +0000 (14:47 +0200)
commitc55f5158f5606f8a62e694b7e009f59b92ac6258
treef51365aca7822ecf82a03c65c919b84274ff86a2
parent5bd96ab6fef66ec6b9f54134364e618fd0f8f2f3
sched, mips, ia64: Remove __ARCH_WANT_UNLOCKED_CTXSW

Kirill found that there's a subtle race in the
__ARCH_WANT_UNLOCKED_CTXSW code, and instead of fixing it, remove the
entire exception because neither arch that uses it seems to actually
still require it.

Boot tested on mips64el (qemu) only.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kirill Tkhai <tkhai@yandex.ru>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Davidlohr Bueso <davidlohr@hp.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Qais Yousef <qais.yousef@imgtec.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: oleg@redhat.com
Cc: linux@roeck-us.net
Cc: linux-ia64@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Link: http://lkml.kernel.org/r/20140923150641.GH3312@worktop.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/ia64/include/asm/processor.h
arch/mips/include/asm/processor.h
kernel/sched/core.c
kernel/sched/sched.h