ia64/xen-unstable

view patches/linux-2.6.18/git-c06cb8b1c4d25e5b4d7a2d7c2462619de1e0dbc4.patch @ 14131:64d80037e524

Save elfnotes in VM sxpr under image/notes, and load them on restore.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
author kfraser@localhost.localdomain
date Mon Feb 26 09:59:56 2007 +0000 (2007-02-26)
parents 4e878f596c16
children
line source
1 commit c06cb8b1c4d25e5b4d7a2d7c2462619de1e0dbc4
2 Author: Vivek Goyal <vgoyal@in.ibm.com>
3 Date: Wed Nov 8 17:44:41 2006 -0800
5 [PATCH] i386: Force data segment to be 4K aligned
7 o Currently there is no specific alignment restriction in linker script
8 and in some cases it can be placed non 4K aligned addresses. This fails
9 kexec which checks that segment to be loaded is page aligned.
11 o I guess, it does not harm data segment to be 4K aligned.
13 Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
14 Signed-off-by: Andi Kleen <ak@suse.de>
15 Signed-off-by: Andrew Morton <akpm@osdl.org>
16 Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 diff --git a/arch/i386/kernel/vmlinux.lds.S b/arch/i386/kernel/vmlinux.lds.S
19 index adc1f23..c6f84a0 100644
20 --- a/arch/i386/kernel/vmlinux.lds.S
21 +++ b/arch/i386/kernel/vmlinux.lds.S
22 @@ -51,6 +51,7 @@ SECTIONS
23 __tracedata_end = .;
25 /* writeable */
26 + . = ALIGN(4096);
27 .data : AT(ADDR(.data) - LOAD_OFFSET) { /* Data */
28 *(.data)
29 CONSTRUCTORS