diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-06-10 15:55:54 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 04:35:38 -0400 |
commit | ab4a465e96adf2f3a8aaa95384bacfa9ab661e35 (patch) | |
tree | a4c72ba76c93ff362b404106f6a6ce756a2075cf /include/asm-x86 | |
parent | df5f6c212cc049d1989b5ce71bb863a367c261e9 (diff) |
x86: e820 merge parsing of the mem=/memmap= boot parameters
since we now have 32-bit support for e820_register_active_regions(),
we can merge the parsing of the mem=/memmap= boot parameters.
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/e820.h | 2 | ||||
-rw-r--r-- | include/asm-x86/e820_32.h | 2 | ||||
-rw-r--r-- | include/asm-x86/e820_64.h | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/include/asm-x86/e820.h b/include/asm-x86/e820.h index 8aa32323a182..a5959e3a5626 100644 --- a/include/asm-x86/e820.h +++ b/include/asm-x86/e820.h | |||
@@ -98,6 +98,8 @@ extern int e820_find_active_region(const struct e820entry *ei, | |||
98 | extern void e820_register_active_regions(int nid, unsigned long start_pfn, | 98 | extern void e820_register_active_regions(int nid, unsigned long start_pfn, |
99 | unsigned long end_pfn); | 99 | unsigned long end_pfn); |
100 | extern u64 e820_hole_size(u64 start, u64 end); | 100 | extern u64 e820_hole_size(u64 start, u64 end); |
101 | extern void finish_e820_parsing(void); | ||
102 | |||
101 | #endif /* __ASSEMBLY__ */ | 103 | #endif /* __ASSEMBLY__ */ |
102 | 104 | ||
103 | #define ISA_START_ADDRESS 0xa0000 | 105 | #define ISA_START_ADDRESS 0xa0000 |
diff --git a/include/asm-x86/e820_32.h b/include/asm-x86/e820_32.h index 212b74c10efc..9135ce6e617e 100644 --- a/include/asm-x86/e820_32.h +++ b/include/asm-x86/e820_32.h | |||
@@ -19,9 +19,7 @@ | |||
19 | #ifndef __ASSEMBLY__ | 19 | #ifndef __ASSEMBLY__ |
20 | 20 | ||
21 | extern void setup_memory_map(void); | 21 | extern void setup_memory_map(void); |
22 | extern void finish_e820_parsing(void); | ||
23 | 22 | ||
24 | extern void limit_regions(unsigned long long size); | ||
25 | extern void init_iomem_resources(struct resource *code_resource, | 23 | extern void init_iomem_resources(struct resource *code_resource, |
26 | struct resource *data_resource, | 24 | struct resource *data_resource, |
27 | struct resource *bss_resource); | 25 | struct resource *bss_resource); |
diff --git a/include/asm-x86/e820_64.h b/include/asm-x86/e820_64.h index 368585daaa42..478547c63222 100644 --- a/include/asm-x86/e820_64.h +++ b/include/asm-x86/e820_64.h | |||
@@ -22,8 +22,6 @@ extern int is_memory_any_valid(unsigned long start, unsigned long end); | |||
22 | extern int e820_all_non_reserved(unsigned long start, unsigned long end); | 22 | extern int e820_all_non_reserved(unsigned long start, unsigned long end); |
23 | extern int is_memory_all_valid(unsigned long start, unsigned long end); | 23 | extern int is_memory_all_valid(unsigned long start, unsigned long end); |
24 | 24 | ||
25 | extern void finish_e820_parsing(void); | ||
26 | |||
27 | #endif/*!__ASSEMBLY__*/ | 25 | #endif/*!__ASSEMBLY__*/ |
28 | 26 | ||
29 | #endif/*__E820_HEADER*/ | 27 | #endif/*__E820_HEADER*/ |