linux/arch/parisc
Helge Deller 649aa24254 parisc/mm: Ensure IRQs are off in switch_mm()
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>
Cc: stable@vger.kernel.org # v4.7+
Signed-off-by: Helge Deller <deller@gmx.de>
2017-06-09 11:31:06 +02:00
..
configs arch: Rename CONFIG_DEBUG_RODATA and CONFIG_DEBUG_MODULE_RONX 2017-02-07 12:32:52 -08:00
include parisc/mm: Ensure IRQs are off in switch_mm() 2017-06-09 11:31:06 +02:00
kernel parisc: Add Page Deallocation Table (PDT) support 2017-05-12 09:14:15 +02:00
lib parisc: Inline trivial exception code in lusercopy.S 2017-05-10 17:46:12 +02:00
math-emu sched/headers: Prepare for new header dependencies before moving code to <linux/sched/signal.h> 2017-03-02 08:42:29 +01:00
mm parisc: Add Page Deallocation Table (PDT) support 2017-05-12 09:14:15 +02:00
oprofile
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 HAVE_ARCH_HARDENED_USERCOPY is unconditional now 2017-04-26 12:11:06 -04:00
Kconfig.debug arch: Move CONFIG_DEBUG_RODATA and CONFIG_SET_MODULE_RONX to be common 2017-02-07 12:32:52 -08:00
Makefile parisc: Fix ftrace function tracer 2016-04-14 17:47:19 +02:00
nm