OpenCloudOS-Kernel/arch/m68k/68000
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 m68k: m68328: remove duplicate code 2020-12-07 09:37:58 +10:00
bootlogo-vz.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bootlogo.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dragen2.c m68knommu: fix missing LCD splash screen data initializer 2021-06-21 12:09:26 +10:00
entry.S m68k: Remove set_fs() 2021-09-24 13:35:07 +02:00
head.S License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ints.c m68k: move non-mmu 68000 platform code 2014-09-29 09:18:35 +10:00
m68328.c m68k: m68328: remove duplicate code 2020-12-07 09:37:58 +10:00
m68328.h m68k: m68328: move platform code to separate files 2020-12-07 09:37:58 +10:00
romvec.S m68k: move non-mmu 68000 platform code 2014-09-29 09:18:35 +10:00
screen.h m68knommu: fix missing LCD splash screen data initializer 2021-06-21 12:09:26 +10:00
timers.c m68k: remove timer_interrupt() function 2020-10-30 21:57:06 +01:00
ucsimm.c m68k: m68328: move platform code to separate files 2020-12-07 09:37:58 +10:00