linux/arch/parisc
Helge Deller e3d2adaaf9 parisc/mm: Ensure IRQs are off in switch_mm()
commit 649aa24254 upstream.

This is because of commit f98db6013c ("sched/core: Add switch_mm_irqs_off()
and use it in the scheduler") in which switch_mm_irqs_off() is called by the
scheduler, vs switch_mm() which is used by use_mm().

This patch lets the parisc code mirror the x86 and powerpc code, ie. it
disables interrupts in switch_mm(), and optimises the scheduler case by
defining switch_mm_irqs_off().

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2017-07-21 07:42:20 +02:00
..
configs mm/usercopy: get rid of CONFIG_DEBUG_STRICT_USER_COPY_CHECKS 2016-08-30 10:10:21 -07:00
include parisc/mm: Ensure IRQs are off in switch_mm() 2017-07-21 07:42:20 +02:00
kernel parisc: use compat_sys_keyctl() 2017-07-21 07:42:20 +02:00
lib parisc: fix bugs in pa_memcpy 2017-04-21 09:31:20 +02:00
math-emu parisc: Fix typo in fpudispatch.c 2016-05-22 22:29:07 +02:00
mm parisc: Report SIGSEGV instead of SIGBUS when running out of stack 2017-07-21 07:42:20 +02:00
oprofile oprofile: more whitespace fixes 2008-10-15 20:55:51 +02:00
defpalo.conf parisc: switch to gzip-compressed vmlinuz kernel 2013-07-09 22:09:20 +02:00
install.sh parisc: make "make install" not depend on vmlinux 2013-11-07 22:28:06 +01:00
Kconfig parisc: Switch to generic sched_clock implementation 2016-11-25 12:31:58 +01:00
Kconfig.debug parisc: Fix ftrace function tracer 2016-04-14 17:47:19 +02:00
Makefile parisc: Fix ftrace function tracer 2016-04-14 17:47:19 +02:00
nm Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00