sh: remove CONFIG_SET_FS support
authorArnd Bergmann <arnd@arndb.de>
Fri, 11 Feb 2022 16:26:42 +0000 (17:26 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 25 Feb 2022 08:36:06 +0000 (09:36 +0100)
commit75d4d29549e54c61466d60336b1c6e3a5d28797c
tree48442ed7077e34e60c9bc34438c11a804800d9fe
parenta5ad837843b63d4f0d90b5cd74dc8bc25a291cfd
sh: remove CONFIG_SET_FS support

sh uses set_fs/get_fs only in one file, to handle address
errors in both user and kernel memory.

It already has an abstraction to differentiate between I/O
and memory, so adding a third class for kernel memory fits
into the same scheme and lets us kill off CONFIG_SET_FS.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/sh/Kconfig
arch/sh/include/asm/processor.h
arch/sh/include/asm/segment.h [deleted file]
arch/sh/include/asm/thread_info.h
arch/sh/include/asm/uaccess.h
arch/sh/kernel/io_trapped.c
arch/sh/kernel/process_32.c
arch/sh/kernel/traps_32.c