diff options
author | Yinghai Lu <Yinghai.Lu@Sun.COM> | 2008-02-22 20:07:16 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 11:40:49 -0400 |
commit | 3def3d6ddf43dbe20c00c3cbc38dfacc8586998f (patch) | |
tree | 0d9b56966bc5c525d9d3a1be66e8ccd9d476e589 /include/asm-x86/e820_64.h | |
parent | 700efc1b9f6afe34caae231b87d129ad8ffb559f (diff) |
x86: clean up e820_reserve_resources on 64-bit
e820_resource_resources could use insert_resource instead of request_resource
also move code_resource, data_resource, bss_resource, and crashk_res
out of e820_reserve_resources.
Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/e820_64.h')
-rw-r--r-- | include/asm-x86/e820_64.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/asm-x86/e820_64.h b/include/asm-x86/e820_64.h index 9e06c6eb4e27..ef653a403e0b 100644 --- a/include/asm-x86/e820_64.h +++ b/include/asm-x86/e820_64.h | |||
@@ -23,8 +23,7 @@ extern void update_memory_range(u64 start, u64 size, unsigned old_type, | |||
23 | extern void setup_memory_region(void); | 23 | extern void setup_memory_region(void); |
24 | extern void contig_e820_setup(void); | 24 | extern void contig_e820_setup(void); |
25 | extern unsigned long e820_end_of_ram(void); | 25 | extern unsigned long e820_end_of_ram(void); |
26 | extern void e820_reserve_resources(struct resource *code_resource, | 26 | extern void e820_reserve_resources(void); |
27 | struct resource *data_resource, struct resource *bss_resource); | ||
28 | extern void e820_mark_nosave_regions(void); | 27 | extern void e820_mark_nosave_regions(void); |
29 | extern int e820_any_mapped(unsigned long start, unsigned long end, unsigned type); | 28 | extern int e820_any_mapped(unsigned long start, unsigned long end, unsigned type); |
30 | extern int e820_all_mapped(unsigned long start, unsigned long end, unsigned type); | 29 | extern int e820_all_mapped(unsigned long start, unsigned long end, unsigned type); |