From: Ionut Nicu Date: Wed, 5 Mar 2008 16:12:54 +0000 (+1100) Subject: [POWERPC] Fix kernel panic in arch_arm_kprobe X-Git-Tag: v2.6.26-rc1~1125^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=221ac329e93fe2a676346af2e98e311251648f69;p=pandora-kernel.git [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: Ionut Nicu Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed