From: Arjan van de Ven Date: Thu, 21 Jun 2007 05:23:21 +0000 (-0700) Subject: Allow DEBUG_RODATA and KPROBES to co-exist X-Git-Tag: v2.6.22-rc6~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0864a4e201b1ea442f4c8b887418a29f67e24d30;p=pandora-kernel.git Allow DEBUG_RODATA and KPROBES to co-exist Do not mark the kernel text read only if KPROBES is in the kernel; kprobes needs to hot-patch the kernel text to insert it's instrumentation. In this case, only mark the .rodata segment as read only. Signed-off-by: Arjan van de Ven Tested-by: S. P. Prasanna Cc: Andi Kleen Cc: William Cohen Cc: Ian McDonald Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed