]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86: Resume trampoline must be executable
authorLin Ming <ming.m.lin@intel.com>
Mon, 22 Nov 2010 13:03:28 +0000 (14:03 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 22 Nov 2010 13:38:52 +0000 (14:38 +0100)
commit691513f70d3957939a318da970987b876c720861
treecdaf1826d5895d058e6606eb37a6322892d1d977
parent84e1c6bb38eb318e456558b610396d9f1afaabf0
x86: Resume trampoline must be executable

commit 5bd5a452(x86: Add NX protection for kernel data) marked the
trampoline area NX - which unsurprisingly breaks resume and cpu
hotplug.

Revert the portion of that commit, which touches the trampoline.

Originally-from: Lin Ming <ming.m.lin@intel.com>
LKML-Reference: <1290410581.2405.24.camel@minggr.sh.intel.com>
Cc: Matthieu Castet <castet.matthieu@free.fr>
Cc: Siarhei Liakh <sliakh.lkml@gmail.com>
Cc: Xuxian Jiang <jiang@cs.ncsu.edu>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Arjan van de Ven <arjan@infradead.org>
Cc: Andi Kleen <andi@firstfloor.org>
Tested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/init_64.c