x86, nx: Mark the ACPI resume trampoline code as +x
authorH. Peter Anvin <hpa@zytor.com>
Mon, 7 Feb 2011 05:16:09 +0000 (21:16 -0800)
committerIngo Molnar <mingo@elte.hu>
Mon, 7 Feb 2011 08:07:13 +0000 (09:07 +0100)
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>

No differences found