aboutsummaryrefslogtreecommitdiff
path: root/include/asm-x86/e820.h
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-06-15 18:58:51 -0700
committerIngo Molnar <mingo@elte.hu>2008-07-08 10:37:01 +0200
commitd0be6bdea103b8d04c8a3495538b7c0011ae4129 (patch)
treeb2f40f629457feda4e20eb145ed6e4b676f6effd /include/asm-x86/e820.h
parent6df8809bbd1b48cc6d428df7372ed749c8711641 (diff)
x86: rename two e820 related functions
rename update_memory_range to e820_update_range rename add_memory_region to e820_add_region to make it more clear that they are about e820 map operations. Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/e820.h')
-rw-r--r--include/asm-x86/e820.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-x86/e820.h b/include/asm-x86/e820.h
index a5959e3a562..6b0ce745a60 100644
--- a/include/asm-x86/e820.h
+++ b/include/asm-x86/e820.h
@@ -60,12 +60,12 @@ extern struct e820map e820;
extern int e820_any_mapped(u64 start, u64 end, unsigned type);
extern int e820_all_mapped(u64 start, u64 end, unsigned type);
-extern void add_memory_region(u64 start, u64 size, int type);
+extern void e820_add_region(u64 start, u64 size, int type);
extern void e820_print_map(char *who);
extern int
sanitize_e820_map(struct e820entry *biosmap, int max_nr_map, int *pnr_map);
extern int copy_e820_map(struct e820entry *biosmap, int nr_map);
-extern u64 update_memory_range(u64 start, u64 size, unsigned old_type,
+extern u64 e820_update_range(u64 start, u64 size, unsigned old_type,
unsigned new_type);
extern void update_e820(void);
extern void e820_setup_gap(void);