summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2018-05-22 23:17:03 -0700
committerDan Williams <dan.j.williams@intel.com>2018-05-22 23:17:03 -0700
commit522239b445a2de988edb81672963708a6aaf9046 (patch)
treeaa51da520dcd8261517c8252bc8a7c68d7cfdb7b /lib
parent8780356ef630aa577fd4daa49e49b79674711fae (diff)
downloadlinux-stable-522239b445a2de988edb81672963708a6aaf9046.tar.gz
linux-stable-522239b445a2de988edb81672963708a6aaf9046.tar.bz2
linux-stable-522239b445a2de988edb81672963708a6aaf9046.zip
uio, lib: Fix CONFIG_ARCH_HAS_UACCESS_MCSAFE compilation
Add a common Kconfig CONFIG_ARCH_HAS_UACCESS_MCSAFE that archs can optionally select, and fixup the declaration of _copy_to_iter_mcsafe(). Fixes: 8780356ef630 ("x86/asm/memcpy_mcsafe: Define copy_to_iter_mcsafe()") Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index 5fe577673b98..907f6e4f1cf2 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -586,6 +586,9 @@ config ARCH_HAS_PMEM_API
config ARCH_HAS_UACCESS_FLUSHCACHE
bool
+config ARCH_HAS_UACCESS_MCSAFE
+ bool
+
config STACKDEPOT
bool
select STACKTRACE