[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060928201249.GA10037@hmsreliant.homelinux.net>
Date: Thu, 28 Sep 2006 16:12:49 -0400
From: Neil Horman <nhorman@...driver.com>
To: linux-kernel@...r.kernel.org
Cc: mj@...ey.karlin.mff.cuni.cz, davej@...hat.com,
nhorman@...driver.com
Subject: [PATCH] x86: update vmlinux.lds.S to place .data section on a page boundary
Patch to update vmlinux linker script so that .data section is on a page
boundary. without this change the kernel's .data section is on a non-4k
boundary, and this prevents kexec from loading a new kernel. Tested
successfully by me.
Thanks & Regards
Neil
Signed-off-by: Neil Horman <nhorman@...driver.com>
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 1e7ac1c..43ed5be 100644
--- a/arch/i386/kernel/vmlinux.lds.S
+++ b/arch/i386/kernel/vmlinux.lds.S
@@ -50,6 +50,7 @@ SECTIONS
}
__tracedata_end = .;
+ . = ALIGN(4096);
/* writeable */
.data : AT(ADDR(.data) - LOAD_OFFSET) { /* Data */
*(.data)
--
/***************************************************
*Neil Horman
*Software Engineer
*gpg keyid: 1024D / 0x92A74FA1 - http://pgp.mit.edu
***************************************************/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists