diff options
author | Santosh Sivaraj <santosh@fossix.org> | 2019-08-20 10:13:52 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-08-21 14:23:49 +0200 |
commit | 42ac26d253ebe7a5f409443f2fbd239d66b65f57 (patch) | |
tree | db4dd163b475bc098fb9eca7901a849d79f5520b /arch/powerpc/Kconfig | |
parent | powerpc/memcpy: Add memcpy_mcsafe for pmem (diff) | |
download | linux-42ac26d253ebe7a5f409443f2fbd239d66b65f57.tar.xz linux-42ac26d253ebe7a5f409443f2fbd239d66b65f57.zip |
powerpc: add machine check safe copy_to_user
Use memcpy_mcsafe() implementation to define copy_to_user_mcsafe()
Signed-off-by: Santosh Sivaraj <santosh@fossix.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190820081352.8641-8-santosh@fossix.org
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 9bc8ac5b8c96..78f52030e76a 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -137,6 +137,7 @@ config PPC select ARCH_HAS_STRICT_KERNEL_RWX if ((PPC_BOOK3S_64 || PPC32) && !RELOCATABLE && !HIBERNATION) select ARCH_HAS_TICK_BROADCAST if GENERIC_CLOCKEVENTS_BROADCAST select ARCH_HAS_UACCESS_FLUSHCACHE + select ARCH_HAS_UACCESS_MCSAFE if PPC64 select ARCH_HAS_UBSAN_SANITIZE_ALL select ARCH_HAVE_NMI_SAFE_CMPXCHG select ARCH_KEEP_MEMBLOCK |