sparc64: remove CONFIG_SET_FS support
authorArnd Bergmann <arnd@arndb.de>
Fri, 11 Feb 2022 16:19:14 +0000 (17:19 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 25 Feb 2022 08:36:06 +0000 (09:36 +0100)
commita5ad837843b63d4f0d90b5cd74dc8bc25a291cfd
tree47e2d070e3cc549ab8c5cd43961f4630156a85d6
parent5a06fcb15b43d1f7bf740c672950122331cb5655
sparc64: remove CONFIG_SET_FS support

sparc64 uses address space identifiers to differentiate between kernel
and user space, using ASI_P for kernel threads but ASI_AIUS for normal
user space, with the option of changing between them.

As nothing really changes the ASI any more, just hardcode ASI_AIUS
everywhere. Kernel threads are not allowed to access __user pointers
anyway.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/sparc/Kconfig
arch/sparc/include/asm/processor_64.h
arch/sparc/include/asm/switch_to_64.h
arch/sparc/include/asm/thread_info_64.h
arch/sparc/include/asm/uaccess_64.h
arch/sparc/kernel/process_64.c
arch/sparc/kernel/traps_64.c
arch/sparc/lib/NGmemcpy.S
arch/sparc/mm/init_64.c