diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-06-15 21:58:51 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 04:37:01 -0400 |
commit | d0be6bdea103b8d04c8a3495538b7c0011ae4129 (patch) | |
tree | b2f40f629457feda4e20eb145ed6e4b676f6effd /arch/x86/xen/setup.c | |
parent | 6df8809bbd1b48cc6d428df7372ed749c8711641 (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 'arch/x86/xen/setup.c')
-rw-r--r-- | arch/x86/xen/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c index 82517e4a752a..9001c9df04d8 100644 --- a/arch/x86/xen/setup.c +++ b/arch/x86/xen/setup.c | |||
@@ -39,8 +39,8 @@ char * __init xen_memory_setup(void) | |||
39 | unsigned long max_pfn = xen_start_info->nr_pages; | 39 | unsigned long max_pfn = xen_start_info->nr_pages; |
40 | 40 | ||
41 | e820.nr_map = 0; | 41 | e820.nr_map = 0; |
42 | add_memory_region(0, LOWMEMSIZE(), E820_RAM); | 42 | e820_add_region(0, LOWMEMSIZE(), E820_RAM); |
43 | add_memory_region(HIGH_MEMORY, PFN_PHYS(max_pfn)-HIGH_MEMORY, E820_RAM); | 43 | e820_add_region(HIGH_MEMORY, PFN_PHYS(max_pfn)-HIGH_MEMORY, E820_RAM); |
44 | 44 | ||
45 | return "Xen"; | 45 | return "Xen"; |
46 | } | 46 | } |