diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-05-29 15:58:37 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-05-31 03:55:53 -0400 |
commit | a5481280b29b6a3db912ec100498bd31eaa6d2db (patch) | |
tree | 97f931a6cbd0a7afd184fde3d17984a78b5c6c88 /include/asm-x86 | |
parent | 163872950dc856fd23849c27f60049feaac49ae6 (diff) |
x86: extend e820 early_res support 32bit -fix #5
reserve early numa kva, so it will not clash with new RAMDISK
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86')
-rw-r--r-- | include/asm-x86/mmzone_32.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/asm-x86/mmzone_32.h b/include/asm-x86/mmzone_32.h index cb2cad0b65a7..faef751181b7 100644 --- a/include/asm-x86/mmzone_32.h +++ b/include/asm-x86/mmzone_32.h | |||
@@ -38,16 +38,12 @@ static inline void get_memcfg_numa(void) | |||
38 | } | 38 | } |
39 | 39 | ||
40 | extern int early_pfn_to_nid(unsigned long pfn); | 40 | extern int early_pfn_to_nid(unsigned long pfn); |
41 | extern void numa_kva_reserve(void); | ||
42 | 41 | ||
43 | #else /* !CONFIG_NUMA */ | 42 | #else /* !CONFIG_NUMA */ |
44 | 43 | ||
45 | #define get_memcfg_numa get_memcfg_numa_flat | 44 | #define get_memcfg_numa get_memcfg_numa_flat |
46 | #define get_zholes_size(n) (0) | 45 | #define get_zholes_size(n) (0) |
47 | 46 | ||
48 | static inline void numa_kva_reserve(void) | ||
49 | { | ||
50 | } | ||
51 | #endif /* CONFIG_NUMA */ | 47 | #endif /* CONFIG_NUMA */ |
52 | 48 | ||
53 | #ifdef CONFIG_DISCONTIGMEM | 49 | #ifdef CONFIG_DISCONTIGMEM |