summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-04-23 18:38:08 +0200
committerArnd Bergmann <arnd@arndb.de>2019-04-23 21:51:40 +0200
commitbd79f94758c011bdffd8d4afcfb578d169cb5e93 (patch)
treea6a192d9e83428b5cf234370df06d4e29c593761 /lib/Kconfig
parentc67fdc1f00cba9de86c30f5a01eff21d3ea66c8f (diff)
downloadlinux-bd79f94758c011bdffd8d4afcfb578d169cb5e93.tar.bz2
asm-generic: provide entirely generic nommu uaccess
Move the code to implement uaccess using memcpy or direct loads and stores to asm-generic/uaccess.h and make it selectable kconfig option. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r--lib/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index a9e56539bd11..7a3f01ac45e8 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -591,6 +591,10 @@ config ARCH_NO_SG_CHAIN
config ARCH_HAS_PMEM_API
bool
+# use memcpy to implement user copies for nommu architectures
+config UACCESS_MEMCPY
+ bool
+
config ARCH_HAS_UACCESS_FLUSHCACHE
bool