aboutsummaryrefslogtreecommitdiff
path: root/include/asm-x86/e820_64.h
diff options
context:
space:
mode:
authorYinghai Lu2008-02-22 17:07:16 -0800
committerIngo Molnar2008-04-17 17:40:49 +0200
commit3def3d6ddf43dbe20c00c3cbc38dfacc8586998f (patch)
tree0d9b56966bc5c525d9d3a1be66e8ccd9d476e589 /include/asm-x86/e820_64.h
parent700efc1b9f6afe34caae231b87d129ad8ffb559f (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.h3
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,
extern void setup_memory_region(void);
extern void contig_e820_setup(void);
extern unsigned long e820_end_of_ram(void);
-extern void e820_reserve_resources(struct resource *code_resource,
- struct resource *data_resource, struct resource *bss_resource);
+extern void e820_reserve_resources(void);
extern void e820_mark_nosave_regions(void);
extern int e820_any_mapped(unsigned long start, unsigned long end, unsigned type);
extern int e820_all_mapped(unsigned long start, unsigned long end, unsigned type);