diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-06-18 20:27:08 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 04:39:01 -0400 |
commit | 95a71a45c250177854f7c530810c88a8a19a443b (patch) | |
tree | 9a063a825cdc5d088973ad06b7cecfb789c3a0dd /include/asm-x86/setup.h | |
parent | 66a6f8d539416c9664f3a04ecb12f55a0097ab8c (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/asm-x86/setup.h')
-rw-r--r-- | include/asm-x86/setup.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 | */ |
43 | extern struct boot_params boot_params; | 43 | extern 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 | |||
52 | void __init i386_start_kernel(void); | 53 | void __init i386_start_kernel(void); |
53 | 54 | ||
54 | extern unsigned long init_pg_tables_start; | 55 | extern unsigned long init_pg_tables_start; |