[POWERPC] Fix kernel panic in arch_arm_kprobe
authorIonut Nicu <ionut.nicu@freescale.com>
Wed, 5 Mar 2008 16:12:54 +0000 (03:12 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 7 Apr 2008 03:49:19 +0000 (13:49 +1000)
The code in arch_arm_kprobe was trying to set a breakpoint which
resulted in a page fault because the kernel text pages were write
protected.  Disable the write protect when CONFIG_KPROBES is defined.

Signed-off-by: Ionut Nicu <ionut.nicu@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

No differences found