diff options
author | H. Peter Anvin <hpa@zytor.com> | 2011-02-06 21:16:09 -0800 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-02-07 09:07:13 +0100 |
commit | d344e38b2c151ca5e5e39f562017127e93912528 (patch) | |
tree | 806fa10a9a103ae6b39ff90dab1bb5cb15f70f03 /arch/x86/kernel/apm_32.c | |
parent | 8dbdea8444d303a772bceb1ba963f0e3273bfc5e (diff) | |
download | linux-d344e38b2c151ca5e5e39f562017127e93912528.tar.bz2 |
x86, nx: Mark the ACPI resume trampoline code as +x
We reserve lowmem for the things that need it, like the ACPI
wakeup code, way early to guarantee availability. This happens
before we set up the proper pagetables, so set_memory_x() has no
effect.
Until we have a better solution, use an initcall to mark the
wakeup code executable.
Originally-by: Matthieu Castet <castet.matthieu@free.fr>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Matthias Hopf <mhopf@suse.de>
Cc: rjw@sisk.pl
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
LKML-Reference: <4D4F8019.2090104@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/apm_32.c')
0 files changed, 0 insertions, 0 deletions