aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-i386
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 /include/asm-i386
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 'include/asm-i386')
-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 5a70501291d6..2b69686107ae 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);
112 112
113#ifdef __ASSEMBLY__ 113#ifdef __ASSEMBLY__
114#define __PAGE_OFFSET CONFIG_PAGE_OFFSET 114#define __PAGE_OFFSET CONFIG_PAGE_OFFSET
115#define __PHYSICAL_START CONFIG_PHYSICAL_START
116#else 115#else
117#define __PAGE_OFFSET ((unsigned long)CONFIG_PAGE_OFFSET) 116#define __PAGE_OFFSET ((unsigned long)CONFIG_PAGE_OFFSET)
118#define __PHYSICAL_START ((unsigned long)CONFIG_PHYSICAL_START)
119#endif 117#endif
120#define __KERNEL_START (__PAGE_OFFSET + __PHYSICAL_START)
121 118
122 119
123#define PAGE_OFFSET ((unsigned long)__PAGE_OFFSET) 120#define PAGE_OFFSET ((unsigned long)__PAGE_OFFSET)