[POWERPC] Better check in show_instructions
authorAnton Blanchard <anton@samba.org>
Fri, 13 Oct 2006 02:17:16 +0000 (12:17 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 16 Oct 2006 05:53:30 +0000 (15:53 +1000)
commit00ae36de49cc718d4122e1c8aac96fd1a5a2553c
tree42cfa3ddd7fb403fb9e03848eb3e7c4bc5050185
parent99f48610252b736908fa5bdea505a480368308d6
[POWERPC] Better check in show_instructions

Instead of just checking that an address is in the right range, use the
provided __kernel_text_address() helper which covers both the kernel and
module text sections.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/process.c