diff options
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 488447878a9d..a29575803204 100644 --- a/arch/x86/xen/setup.c +++ b/arch/x86/xen/setup.c | |||
@@ -40,8 +40,8 @@ char * __init xen_memory_setup(void) | |||
40 | max_pfn = min(MAX_DOMAIN_PAGES, max_pfn); | 40 | max_pfn = min(MAX_DOMAIN_PAGES, max_pfn); |
41 | 41 | ||
42 | e820.nr_map = 0; | 42 | e820.nr_map = 0; |
43 | add_memory_region(0, LOWMEMSIZE(), E820_RAM); | 43 | e820_add_region(0, LOWMEMSIZE(), E820_RAM); |
44 | add_memory_region(HIGH_MEMORY, PFN_PHYS(max_pfn)-HIGH_MEMORY, E820_RAM); | 44 | e820_add_region(HIGH_MEMORY, PFN_PHYS(max_pfn)-HIGH_MEMORY, E820_RAM); |
45 | 45 | ||
46 | return "Xen"; | 46 | return "Xen"; |
47 | } | 47 | } |