commit | 72b59d67f80983f7bb587b086fb4cb1bc95263a4 | [log] [tgz] |
---|---|---|
author | Pekka Paalanen <pq@iki.fi> | Mon May 12 21:21:01 2008 +0200 |
committer | Thomas Gleixner <tglx@linutronix.de> | Fri May 23 21:53:07 2008 +0200 |
tree | 78160905e5c943a0a19fe7774c927a73d61638b7 | |
parent | 25b0b44a1c732ccfc58095cdd8438955a0a19fff [diff] |
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 <pq@iki.fi> Acked-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>