commit 9a14f2964b459c18198ee59ff7212321def82df7
tree 1607b2f6580fadb2793961e3161e87de542b529d
parent 1b7f6a626f0ff511c3840678466cbfe1d62c0b29
author Vivek Goyal <[EMAIL PROTECTED]> 1164040149 -0500
committer Andi Kleen <[EMAIL PROTECTED]> 1164101214 +0100

[PATCH] x86_64: Align data segment to PAGE_SIZE boundary

o Explicitly align data segment to PAGE_SIZE boundary otherwise depending on
  config options and tool chain it might be placed on a non PAGE_SIZE aligned
  boundary and vmlinux loaders like kexec fail when they encounter a
  PT_LOAD type segment which is not aligned to PAGE_SIZE boundary.

Signed-off-by: Vivek Goyal <[EMAIL PROTECTED]>
Signed-off-by: Andi Kleen <[EMAIL PROTECTED]>

 arch/x86_64/kernel/ |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86_64/kernel/ b/arch/x86_64/kernel/
index edb24aa..d9534e7 100644
--- a/arch/x86_64/kernel/
+++ b/arch/x86_64/kernel/
@@ -60,6 +60,7 @@ SECTIONS
+  . = ALIGN(PAGE_SIZE);        /* Align data segment to page size boundary */
                                /* Data */
   .data : AT(ADDR(.data) - LOAD_OFFSET) {
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to