diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2012-05-08 14:22:38 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2012-05-08 14:48:03 -0400 |
commit | be60828920d23758da8124bed771404a0438f369 (patch) | |
tree | a45351b9197484524e9314048fee75d4f59f9e7b /arch/x86/realmode | |
parent | e5684ec438a094bec0f7d5c52652c0901b48b613 (diff) |
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
Diffstat (limited to 'arch/x86/realmode')
-rw-r--r-- | arch/x86/realmode/rm/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/realmode/rm/Makefile b/arch/x86/realmode/rm/Makefile index 2432acb6b04f..2423142b4da4 100644 --- a/arch/x86/realmode/rm/Makefile +++ b/arch/x86/realmode/rm/Makefile | |||
@@ -12,8 +12,8 @@ subdir- := wakeup | |||
12 | always := realmode.bin | 12 | always := realmode.bin |
13 | 13 | ||
14 | realmode-y += header.o | 14 | realmode-y += header.o |
15 | realmode-$(CONFIG_X86_32) += reboot_32.o | ||
16 | realmode-y += trampoline_$(BITS).o | 15 | realmode-y += trampoline_$(BITS).o |
16 | realmode-$(CONFIG_X86_32) += reboot_32.o | ||
17 | realmode-$(CONFIG_ACPI_SLEEP) += wakeup/wakeup.o | 17 | realmode-$(CONFIG_ACPI_SLEEP) += wakeup/wakeup.o |
18 | 18 | ||
19 | targets += $(realmode-y) | 19 | targets += $(realmode-y) |