]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
x86, realmode: Move trampoline_*.S early in the link order
authorH. Peter Anvin <hpa@linux.intel.com>
Tue, 8 May 2012 18:22:38 +0000 (21:22 +0300)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 8 May 2012 18:48:03 +0000 (11:48 -0700)
Move trampoline_*.S earlier in the link order so it ends up being
first in the text segment; since the SIPI vector requires 4K alignment
it otherwise ends up padding the .text segment with that much
completely unnecessarily.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Link: http://lkml.kernel.org/r/1336501366-28617-16-git-send-email-jarkko.sakkinen@intel.com
arch/x86/realmode/rm/Makefile

index 2432acb6b04f86399682f1d0278369f8d81dd05a..2423142b4da456f4c720e77dd99a618b7f55d6f3 100644 (file)
@@ -12,8 +12,8 @@ subdir- := wakeup
 always := realmode.bin
 
 realmode-y                     += header.o
-realmode-$(CONFIG_X86_32)      += reboot_32.o
 realmode-y                     += trampoline_$(BITS).o
+realmode-$(CONFIG_X86_32)      += reboot_32.o
 realmode-$(CONFIG_ACPI_SLEEP)  += wakeup/wakeup.o
 
 targets        += $(realmode-y)