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)
commit7b051f665c32db3339ac9b6d9806ef508d09647f
tree675986774556c3bf79ed3601ce5591a45b9f3acf
parentdd521d1eb4bc7f12a0d440134cb3a72852b6da9c
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