[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] Imported patch git-c06cb8b1c4d25e5b4d7a2d7c2462619de1e0dbc4.patch from xen-unstable.hg 15200:bd3d6b4c52ec



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
# Date 1180947924 -3600
# Node ID 139f7610ddf64d9eb149bfef48bc9ead83b54520
# Parent  cb5094f46707122699e4dd791601cdc4497f3497
Imported patch git-c06cb8b1c4d25e5b4d7a2d7c2462619de1e0dbc4.patch from 
xen-unstable.hg 15200:bd3d6b4c52ec

commit c06cb8b1c4d25e5b4d7a2d7c2462619de1e0dbc4
Author: Vivek Goyal <vgoyal@xxxxxxxxxx>
Date:   Wed Nov 8 17:44:41 2006 -0800

    [PATCH] i386: Force data segment to be 4K aligned

    o Currently there is no specific alignment restriction in linker script
      and in some cases it can be placed non 4K aligned addresses. This fails
      kexec which checks that segment to be loaded is page aligned.

    o I guess, it does not harm data segment to be 4K aligned.

    Signed-off-by: Vivek Goyal <vgoyal@xxxxxxxxxx>
    Signed-off-by: Andi Kleen <ak@xxxxxxx>
    Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
    Signed-off-by: Linus Torvalds <torvalds@xxxxxxxx>
---
 arch/i386/kernel/vmlinux.lds.S |    1 +
 1 files changed, 1 insertion(+)

diff --git a/arch/i386/kernel/vmlinux.lds.S b/arch/i386/kernel/vmlinux.lds.S
index adc1f23..c6f84a0 100644

diff -r cb5094f46707 -r 139f7610ddf6 arch/i386/kernel/vmlinux.lds.S
--- a/arch/i386/kernel/vmlinux.lds.S    Mon Jun 04 10:05:24 2007 +0100
+++ b/arch/i386/kernel/vmlinux.lds.S    Mon Jun 04 10:05:24 2007 +0100
@@ -51,6 +51,7 @@ SECTIONS
   __tracedata_end = .;
 
   /* writeable */
+  . = ALIGN(4096);
   .data : AT(ADDR(.data) - LOAD_OFFSET) {      /* Data */
        *(.data)
        CONSTRUCTORS

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.