summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib
diff options
context:
space:
mode:
authorJordan Niethe <jniethe5@gmail.com>2020-05-06 05:40:36 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2020-05-18 16:10:37 +0200
commit5249385ad7f0ac178433f0ae9cc5b64612c8ff77 (patch)
tree3624e16bb981dd5da8e74ae28b08695bf42e878c /arch/powerpc/lib
parentpowerpc/kprobes: Use patch_instruction() (diff)
downloadlinux-5249385ad7f0ac178433f0ae9cc5b64612c8ff77.tar.xz
linux-5249385ad7f0ac178433f0ae9cc5b64612c8ff77.zip
powerpc: Define and use get_user_instr() et. al.
Define specialised get_user_instr(), __get_user_instr() and __get_user_instr_inatomic() macros for reading instructions from user and/or kernel space. Signed-off-by: Jordan Niethe <jniethe5@gmail.com> Reviewed-by: Alistair Popple <alistair@popple.id.au> [mpe: Squash in addition of get_user_instr() & __user annotations] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200506034050.24806-17-jniethe5@gmail.com
Diffstat (limited to 'arch/powerpc/lib')
0 files changed, 0 insertions, 0 deletions