powerpc: add machine check safe copy_to_user
authorSantosh Sivaraj <santosh@fossix.org>
Tue, 20 Aug 2019 08:13:52 +0000 (13:43 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 21 Aug 2019 12:23:49 +0000 (22:23 +1000)
commit42ac26d253ebe7a5f409443f2fbd239d66b65f57
treedb4dd163b475bc098fb9eca7901a849d79f5520b
parent4d4a273854c9eac1a1b163830658dc825e183ad5
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
arch/powerpc/Kconfig
arch/powerpc/include/asm/uaccess.h