]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9057427a3e20e69c9f4066a86072805c4b948fe4
treedb4dd163b475bc098fb9eca7901a849d79f5520b
parent29837cedd094e0f281338f156af40c0c335cbf43
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