]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Use probe_kernel_address in show_instructions
authorAnton Blanchard <anton@samba.org>
Mon, 13 Oct 2014 09:27:15 +0000 (20:27 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 5 Nov 2014 10:00:45 +0000 (21:00 +1100)
commitd86f8556ed7a61acf66d258e287613999ac6011b
tree675986774556c3bf79ed3601ce5591a45b9f3acf
parenta7919e1deec5eb0714bdf016e0703708fcd1f6c4
powerpc: Use probe_kernel_address in show_instructions

We really don't want to take a pagefault in show_instructions,
so use probe_kernel_address instead of __get_user.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/process.c