WSL2-Linux-Kernel/arch/m68k/mac
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
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
baboon.c
config.c m68k/mac: Replace macide driver with generic platform drivers 2021-06-10 16:30:11 -06:00
iop.c m68k: mac: Refactor iop_preinit() and iop_init() 2020-11-23 11:30:51 +01:00
mac_penguin.S
macboing.c m68k: Replace HTTP links with HTTPS ones 2020-09-07 10:56:08 +02:00
macints.c
misc.c m68k: Remove set_fs() 2021-09-24 13:35:07 +02:00
oss.c
psc.c treewide: Add SPDX license identifier for missed files 2019-05-21 10:50:45 +02:00
via.c asm-generic: cross-architecture timer cleanup 2020-12-16 00:07:17 -08:00