aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-06-18 20:27:08 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 04:39:01 -0400
commit95a71a45c250177854f7c530810c88a8a19a443b (patch)
tree9a063a825cdc5d088973ad06b7cecfb789c3a0dd /include
parent66a6f8d539416c9664f3a04ecb12f55a0097ab8c (diff)
x86: cleanup machine_specific_memory_setup, v2
1. let 64bit support 88 and e801 too 2. introduce default_machine_specific_memory_setup, and reuse it for voyager v2: fix 64 bit compiling Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r--include/asm-x86/e820.h3
-rw-r--r--include/asm-x86/setup.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-x86/e820.h b/include/asm-x86/e820.h
index 83144cb6c68d..668a0d743d25 100644
--- a/include/asm-x86/e820.h
+++ b/include/asm-x86/e820.h
@@ -102,6 +102,7 @@ extern u64 e820_hole_size(u64 start, u64 end);
102extern void finish_e820_parsing(void); 102extern void finish_e820_parsing(void);
103extern void e820_reserve_resources(void); 103extern void e820_reserve_resources(void);
104extern void setup_memory_map(void); 104extern void setup_memory_map(void);
105extern char *default_machine_specific_memory_setup(void);
105extern char *machine_specific_memory_setup(void); 106extern char *machine_specific_memory_setup(void);
106extern char *memory_setup(void); 107extern char *memory_setup(void);
107 108
@@ -116,9 +117,7 @@ extern char *memory_setup(void);
116#ifdef __KERNEL__ 117#ifdef __KERNEL__
117#include <linux/ioport.h> 118#include <linux/ioport.h>
118 119
119#ifdef CONFIG_X86_32
120#define HIGH_MEMORY (1024*1024) 120#define HIGH_MEMORY (1024*1024)
121#endif
122#endif /* __KERNEL__ */ 121#endif /* __KERNEL__ */
123 122
124#endif /* __ASM_E820_H */ 123#endif /* __ASM_E820_H */
diff --git a/include/asm-x86/setup.h b/include/asm-x86/setup.h
index b676b0be7986..e14b6e73d266 100644
--- a/include/asm-x86/setup.h
+++ b/include/asm-x86/setup.h
@@ -42,13 +42,14 @@ void vsmp_init(void);
42 */ 42 */
43extern struct boot_params boot_params; 43extern struct boot_params boot_params;
44 44
45#ifdef __i386__
46/* 45/*
47 * Do NOT EVER look at the BIOS memory size location. 46 * Do NOT EVER look at the BIOS memory size location.
48 * It does not work on many machines. 47 * It does not work on many machines.
49 */ 48 */
50#define LOWMEMSIZE() (0x9f000) 49#define LOWMEMSIZE() (0x9f000)
51 50
51#ifdef __i386__
52
52void __init i386_start_kernel(void); 53void __init i386_start_kernel(void);
53 54
54extern unsigned long init_pg_tables_start; 55extern unsigned long init_pg_tables_start;