diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-06-16 16:03:31 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 04:38:14 -0400 |
commit | 41c094fd3ca54f1a71233049cf136ff94c91f4ae (patch) | |
tree | 9ce8de894276e69d30c893700a9b70fb4e176511 /include | |
parent | 8c5beb50d3ec915d15c4d38aa37282309a65f14e (diff) |
x86: move e820_resource_resources to e820.c
and make 32-bit resource registration more like 64 bit.
also move probe_roms back to setup_32.c
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.h | 1 | ||||
-rw-r--r-- | include/asm-x86/e820_32.h | 4 | ||||
-rw-r--r-- | include/asm-x86/e820_64.h | 1 |
3 files changed, 1 insertions, 5 deletions
diff --git a/include/asm-x86/e820.h b/include/asm-x86/e820.h index 77fc24d89163..e860fe758e79 100644 --- a/include/asm-x86/e820.h +++ b/include/asm-x86/e820.h | |||
@@ -100,6 +100,7 @@ extern void e820_register_active_regions(int nid, unsigned long start_pfn, | |||
100 | unsigned long end_pfn); | 100 | unsigned long end_pfn); |
101 | extern u64 e820_hole_size(u64 start, u64 end); | 101 | extern u64 e820_hole_size(u64 start, u64 end); |
102 | extern void finish_e820_parsing(void); | 102 | extern void finish_e820_parsing(void); |
103 | extern void e820_reserve_resources(void); | ||
103 | 104 | ||
104 | #endif /* __ASSEMBLY__ */ | 105 | #endif /* __ASSEMBLY__ */ |
105 | 106 | ||
diff --git a/include/asm-x86/e820_32.h b/include/asm-x86/e820_32.h index 9135ce6e617e..557b890549ff 100644 --- a/include/asm-x86/e820_32.h +++ b/include/asm-x86/e820_32.h | |||
@@ -20,9 +20,5 @@ | |||
20 | 20 | ||
21 | extern void setup_memory_map(void); | 21 | extern void setup_memory_map(void); |
22 | 22 | ||
23 | extern void init_iomem_resources(struct resource *code_resource, | ||
24 | struct resource *data_resource, | ||
25 | struct resource *bss_resource); | ||
26 | |||
27 | #endif/*!__ASSEMBLY__*/ | 23 | #endif/*!__ASSEMBLY__*/ |
28 | #endif/*__E820_HEADER*/ | 24 | #endif/*__E820_HEADER*/ |
diff --git a/include/asm-x86/e820_64.h b/include/asm-x86/e820_64.h index 478547c63222..8d992109969b 100644 --- a/include/asm-x86/e820_64.h +++ b/include/asm-x86/e820_64.h | |||
@@ -16,7 +16,6 @@ | |||
16 | #ifndef __ASSEMBLY__ | 16 | #ifndef __ASSEMBLY__ |
17 | extern void setup_memory_region(void); | 17 | extern void setup_memory_region(void); |
18 | extern void contig_e820_setup(void); | 18 | extern void contig_e820_setup(void); |
19 | extern void e820_reserve_resources(void); | ||
20 | extern int e820_any_non_reserved(unsigned long start, unsigned long end); | 19 | extern int e820_any_non_reserved(unsigned long start, unsigned long end); |
21 | extern int is_memory_any_valid(unsigned long start, unsigned long end); | 20 | 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); | 21 | extern int e820_all_non_reserved(unsigned long start, unsigned long end); |