From: Rafael J. Wysocki Date: Sun, 7 Dec 2008 23:50:22 +0000 (+0100) Subject: x86: change static allocation of trampoline area X-Git-Tag: v2.6.29-rc1~587^2~4^25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e1e9002aa8b32bd4c95ac6c8fad376b7a8127fb;p=pandora-kernel.git x86: change static allocation of trampoline area Impact: fix trampoline sizing bug, save space While debugging a suspend-to-RAM related issue it occured to me that if the trampoline code had grown past 4 KB, we would have been allocating too little memory for it, since the 4 KB size of the trampoline is hardcoded into arch/x86/kernel/e820.c . Change that by making the kernel compute the trampoline size and allocate as much memory as necessary. Signed-off-by: Rafael J. Wysocki Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed