aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-i386/page.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2006-12-07 02:14:04 +0100
committerAndi Kleen <andi@basil.nowhere.org>2006-12-07 02:14:04 +0100
commit2a43f3ede48ea3d5790b863b719a1e21c90a3697 (patch)
treefedadc184156392feeb25dcf85a2c5db6138fb26 /include/asm-i386/page.h
parent8621b81c744ff8880a1efe095a4dcd09763ddb5a (diff)
downloadkernel_goldelico_gta04-2a43f3ede48ea3d5790b863b719a1e21c90a3697.zip
kernel_goldelico_gta04-2a43f3ede48ea3d5790b863b719a1e21c90a3697.tar.gz
kernel_goldelico_gta04-2a43f3ede48ea3d5790b863b719a1e21c90a3697.tar.bz2
[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 'include/asm-i386/page.h')
-rw-r--r--include/asm-i386/page.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-i386/page.h b/include/asm-i386/page.h
index 5a70501..2b69686 100644
--- a/include/asm-i386/page.h
+++ b/include/asm-i386/page.h
@@ -112,12 +112,9 @@ extern int page_is_ram(unsigned long pagenr);
#ifdef __ASSEMBLY__
#define __PAGE_OFFSET CONFIG_PAGE_OFFSET
-#define __PHYSICAL_START CONFIG_PHYSICAL_START
#else
#define __PAGE_OFFSET ((unsigned long)CONFIG_PAGE_OFFSET)
-#define __PHYSICAL_START ((unsigned long)CONFIG_PHYSICAL_START)
#endif
-#define __KERNEL_START (__PAGE_OFFSET + __PHYSICAL_START)
#define PAGE_OFFSET ((unsigned long)__PAGE_OFFSET)