asm-generic: make the set_fs implementation optional
authorChristoph Hellwig <hch@lst.de>
Mon, 7 Sep 2020 05:58:21 +0000 (07:58 +0200)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Sun, 4 Oct 2020 17:27:02 +0000 (10:27 -0700)
commit3c57fa13f6bf3906643034c57736c778ce63fa55
tree04270a878e3787dc1f8c206203263c595dc9a708
parent2d2d255467d4ea927fbf606c8b584512edee0f7b
asm-generic: make the set_fs implementation optional

Put all the set_fs related code under CONFIG_SET_FS so that
asm-generic/uaccess.h can be used for set_fs-less builds.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
include/asm-generic/uaccess.h