linux-stable/arch/m68k/mm
Christoph Hellwig 9fde034864 m68k: Remove set_fs()
Add a m68k-only set_fc helper to set the SFC and DFC registers for the
few places that need to override it for special MM operations, but
disconnect that from the deprecated kernel-wide set_fs() API.

Note that the SFC/DFC registers are context switched, so there is no need
to disable preemption.

Partially based on an earlier patch from
Linus Torvalds <torvalds@linux-foundation.org>.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Michael Schmitz <schmitzmic@gmail.com>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Link: https://lore.kernel.org/r/20210916070405.52750-7-hch@lst.de
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2021-09-24 13:35:07 +02:00
..
cache.c m68k: Remove set_fs() 2021-09-24 13:35:07 +02:00
fault.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
hwtest.c
init.c m68k: Remove set_fs() 2021-09-24 13:35:07 +02:00
kmap.c m68k: Remove set_fs() 2021-09-24 13:35:07 +02:00
Makefile
mcfmmu.c m68k: mm: Remove superfluous memblock_alloc*() casts 2020-09-07 10:56:08 +02:00
memory.c m68k: Remove set_fs() 2021-09-24 13:35:07 +02:00
motorola.c m68k: Remove set_fs() 2021-09-24 13:35:07 +02:00
sun3kmap.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00
sun3mmu.c mm: don't include asm/pgtable.h if linux/mm.h is already included 2020-06-09 09:39:13 -07:00