瀏覽代碼

x86, realmode: Move trampoline_*.S early in the link order

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
H. Peter Anvin 13 年之前
父節點
當前提交
be60828920
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/x86/realmode/rm/Makefile

+ 1 - 1
arch/x86/realmode/rm/Makefile

@@ -12,8 +12,8 @@ subdir- := wakeup
 always := realmode.bin
 always := realmode.bin
 
 
 realmode-y			+= header.o
 realmode-y			+= header.o
-realmode-$(CONFIG_X86_32)	+= reboot_32.o
 realmode-y			+= trampoline_$(BITS).o
 realmode-y			+= trampoline_$(BITS).o
+realmode-$(CONFIG_X86_32)	+= reboot_32.o
 realmode-$(CONFIG_ACPI_SLEEP)	+= wakeup/wakeup.o
 realmode-$(CONFIG_ACPI_SLEEP)	+= wakeup/wakeup.o
 
 
 targets	+= $(realmode-y)
 targets	+= $(realmode-y)