[prev in list] [next in list] [prev in thread] [next in thread]
List: kexec
Subject: [PATCH -mm 1/3 -v3] kexec/i386: remove PAGE_SIZE alignment from
From: ying.huang () intel ! com (Huang Ying)
Date: 2008-10-30 8:17:01
Message-ID: 1225354621.24095.111.camel () yhuang-dev ! sh ! intel ! com
[Download RAW message or body]
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 at intel.com>
---
arch/x86/kernel/relocate_kernel_32.S | 1 -
1 file changed, 1 deletion(-)
--- a/arch/x86/kernel/relocate_kernel_32.S
+++ b/arch/x86/kernel/relocate_kernel_32.S
@@ -39,7 +39,6 @@
#define CP_PA_BACKUP_PAGES_MAP DATA(0x1c)
.text
- .align PAGE_SIZE
.globl relocate_kernel
relocate_kernel:
/* Save the CPU context, used for jumping back */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.infradead.org/pipermail/kexec/attachments/20081030/09c9d591/attachment.bin
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic