summaryrefslogtreecommitdiffstats
path: root/arch/parisc/mm
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2017-05-29 17:14:16 +0200
committerHelge Deller <deller@gmx.de>2017-06-09 11:31:06 +0200
commit649aa24254e85bf6bd7807dd372d083707852b1f (patch)
tree834c331b2c9074ddfa2a5a715d88f06ddbb07d90 /arch/parisc/mm
parentc9c2877d08d9aa0ca0a5c227ac795fbb76269300 (diff)
downloadlinux-649aa24254e85bf6bd7807dd372d083707852b1f.tar.bz2
parisc/mm: Ensure IRQs are off in switch_mm()
This is because of commit f98db6013c55 ("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>
Diffstat (limited to 'arch/parisc/mm')
0 files changed, 0 insertions, 0 deletions