openrisc: remove CONFIG_SET_FS
authorStafford Horne <shorne@gmail.com>
Sat, 5 Feb 2022 09:55:51 +0000 (18:55 +0900)
committerStafford Horne <shorne@gmail.com>
Thu, 10 Feb 2022 22:59:55 +0000 (07:59 +0900)
commitf4f4d0fba0c51594d8c78dae7982436017b7e2b3
tree9911d9f1540cff528c2736ad41eaee55beeaf938
parent862cf8d5fd98ed8ea8989726ed5da53761a9ed76
openrisc: remove CONFIG_SET_FS

Remove the address space override API set_fs().  The OpenRISC user
address space is now limited to TASK_SIZE.

To support this we implement and wire in __get_kernel_nofault and
__set_kernel_nofault.

The function user_addr_max is removed as there is a default definition
provided when CONFIG_SET_FS is not used.

Signed-off-by: Stafford Horne <shorne@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
arch/openrisc/Kconfig
arch/openrisc/include/asm/thread_info.h
arch/openrisc/include/asm/uaccess.h