aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2006-12-06 20:14:04 -0500
committerAndi Kleen <andi@basil.nowhere.org>2006-12-06 20:14:04 -0500
commit2a43f3ede48ea3d5790b863b719a1e21c90a3697 (patch)
treefedadc184156392feeb25dcf85a2c5db6138fb26 /arch/i386/kernel/vmlinux.lds.S
parent8621b81c744ff8880a1efe095a4dcd09763ddb5a (diff)
[PATCH] i386: CONFIG_PHYSICAL_START cleanup
Defining __PHYSICAL_START and __KERNEL_START in asm-i386/page.h works but it triggers a full kernel rebuild for the silliest of reasons. This modifies the users to directly use CONFIG_PHYSICAL_START and linux/config.h which prevents the full rebuild problem, which makes the code much more maintainer and hopefully user friendly. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com> Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/i386/kernel/vmlinux.lds.S')
-rw-r--r--arch/i386/kernel/vmlinux.lds.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/vmlinux.lds.S b/arch/i386/kernel/vmlinux.lds.S
index c217e18f1081..f8d61ec4c8cb 100644
--- a/arch/i386/kernel/vmlinux.lds.S
+++ b/arch/i386/kernel/vmlinux.lds.S
@@ -27,7 +27,7 @@ PHDRS {
27} 27}
28SECTIONS 28SECTIONS
29{ 29{
30 . = __KERNEL_START; 30 . = LOAD_OFFSET + CONFIG_PHYSICAL_START;
31 phys_startup_32 = startup_32 - LOAD_OFFSET; 31 phys_startup_32 = startup_32 - LOAD_OFFSET;
32 /* read-only */ 32 /* read-only */
33 .text : AT(ADDR(.text) - LOAD_OFFSET) { 33 .text : AT(ADDR(.text) - LOAD_OFFSET) {