diff options
Diffstat (limited to 'include/asm-x86/setup.h')
-rw-r--r-- | include/asm-x86/setup.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/include/asm-x86/setup.h b/include/asm-x86/setup.h index fa6763af8d26..e14b6e73d266 100644 --- a/include/asm-x86/setup.h +++ b/include/asm-x86/setup.h | |||
@@ -8,7 +8,6 @@ | |||
8 | /* Interrupt control for vSMPowered x86_64 systems */ | 8 | /* Interrupt control for vSMPowered x86_64 systems */ |
9 | void vsmp_init(void); | 9 | void vsmp_init(void); |
10 | 10 | ||
11 | char *machine_specific_memory_setup(void); | ||
12 | #ifndef CONFIG_PARAVIRT | 11 | #ifndef CONFIG_PARAVIRT |
13 | #define paravirt_post_allocator_init() do {} while (0) | 12 | #define paravirt_post_allocator_init() do {} while (0) |
14 | #endif | 13 | #endif |
@@ -43,27 +42,19 @@ char *machine_specific_memory_setup(void); | |||
43 | */ | 42 | */ |
44 | extern struct boot_params boot_params; | 43 | extern struct boot_params boot_params; |
45 | 44 | ||
46 | #ifdef __i386__ | ||
47 | /* | 45 | /* |
48 | * Do NOT EVER look at the BIOS memory size location. | 46 | * Do NOT EVER look at the BIOS memory size location. |
49 | * It does not work on many machines. | 47 | * It does not work on many machines. |
50 | */ | 48 | */ |
51 | #define LOWMEMSIZE() (0x9f000) | 49 | #define LOWMEMSIZE() (0x9f000) |
52 | 50 | ||
53 | struct e820entry; | 51 | #ifdef __i386__ |
54 | |||
55 | char * __init machine_specific_memory_setup(void); | ||
56 | char *memory_setup(void); | ||
57 | 52 | ||
58 | int __init copy_e820_map(struct e820entry *biosmap, int nr_map); | 53 | void __init i386_start_kernel(void); |
59 | int __init sanitize_e820_map(struct e820entry *biosmap, char *pnr_map); | ||
60 | void __init add_memory_region(unsigned long long start, | ||
61 | unsigned long long size, int type); | ||
62 | 54 | ||
55 | extern unsigned long init_pg_tables_start; | ||
63 | extern unsigned long init_pg_tables_end; | 56 | extern unsigned long init_pg_tables_end; |
64 | 57 | ||
65 | |||
66 | |||
67 | #endif /* __i386__ */ | 58 | #endif /* __i386__ */ |
68 | #endif /* _SETUP */ | 59 | #endif /* _SETUP */ |
69 | #endif /* __ASSEMBLY__ */ | 60 | #endif /* __ASSEMBLY__ */ |