From: Yinghai Lu Date: Wed, 11 Nov 2009 02:27:23 +0000 (-0800) Subject: x86: Make sure wakeup trampoline code is below 1MB X-Git-Tag: v2.6.33-rc1~374^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=196cf0d67acad70ebb2572da489d5cc7066cdd05;p=pandora-kernel.git x86: Make sure wakeup trampoline code is below 1MB Instead of using bootmem, try find_e820_area()/reserve_early(), and call acpi_reserve_memory() early, to allocate the wakeup trampoline code area below 1M. This is more reliable, and it also removes a dependency on bootmem. -v2: change function name to acpi_reserve_wakeup_memory(), as suggested by Rafael. Signed-off-by: Yinghai Lu Acked-by: H. Peter Anvin Acked-by: Rafael J. Wysocki Cc: pm list Cc: Len Brown Cc: Linus Torvalds LKML-Reference: <4AFA210B.3020207@kernel.org> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed