aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/relocate_kernel_32.S
diff options
context:
space:
mode:
authorHuang Ying <ying.huang@intel.com>2008-10-30 21:48:02 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-31 05:01:55 -0400
commit31498a01496ffca3b542bae72b8ec499cd9302db (patch)
tree8ae851f09116cd3b2b25a2e266308522c28e20a3 /arch/x86/kernel/relocate_kernel_32.S
parent721d5dfe7e516954c501d5e9d0dfab379cf4241a (diff)
kexec/i386: remove PAGE_SIZE alignment from relocate_kernel
Impact: save kernel .text by loosening kexec page alignment This patch removes PAGE_SIZE alignment from relocate_kernel(). Before kexec jump patches are merged, control page is mapped to relocate_kernel in kexec page tables, so relocate_kernel must be PAGE_SIZE aligned. Now, control page is mapped to identity mapped address, so relocate_kernel need not to be PAGE_SIZE aligned any more. This can reduce a few KB from kernel text segement. Signed-off-by: Huang Ying <ying.huang@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/relocate_kernel_32.S')
-rw-r--r--arch/x86/kernel/relocate_kernel_32.S1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kernel/relocate_kernel_32.S b/arch/x86/kernel/relocate_kernel_32.S
index 6f50664b2ba5..377da3f78e8c 100644
--- a/arch/x86/kernel/relocate_kernel_32.S
+++ b/arch/x86/kernel/relocate_kernel_32.S
@@ -39,7 +39,6 @@
39#define CP_PA_BACKUP_PAGES_MAP DATA(0x1c) 39#define CP_PA_BACKUP_PAGES_MAP DATA(0x1c)
40 40
41 .text 41 .text
42 .align PAGE_SIZE
43 .globl relocate_kernel 42 .globl relocate_kernel
44relocate_kernel: 43relocate_kernel:
45 /* Save the CPU context, used for jumping back */ 44 /* Save the CPU context, used for jumping back */