]> 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)
commitf1f31327c5b939cbd056933e44d76371aa296d34
treedb4dd163b475bc098fb9eca7901a849d79f5520b
parentb9ea509819a29015131821d70da59ad38dc04e2b
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