From: Pekka Paalanen Date: Mon, 12 May 2008 19:21:01 +0000 (+0200) Subject: x86_64: fix kernel rodata NX setting X-Git-Tag: v2.6.27-rc1~1102^2^2~1^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72b59d67f80983f7bb587b086fb4cb1bc95263a4;p=pandora-kernel.git x86_64: fix kernel rodata NX setting Without CONFIG_DYNAMIC_FTRACE, mark_rodata_ro() would mark a wrong number of pages as no-execute. The bug was introduced in the patch "ftrace: dont write protect kernel text". The symptom was machine reboot after a CPU hotplug. Signed-off-by: Pekka Paalanen Acked-by: Steven Rostedt Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed