Skip to content
Commit 221ac329 authored by Ionut Nicu's avatar Ionut Nicu Committed by Paul Mackerras
Browse files

[POWERPC] Fix kernel panic in arch_arm_kprobe



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: default avatarIonut Nicu <ionut.nicu@freescale.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 0119536c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment