summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/efi.c
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 /arch/x86/kernel/efi.c
parent6df8809bbd1b48cc6d428df7372ed749c8711641 (diff)
downloadlwn-d0be6bdea103b8d04c8a3495538b7c0011ae4129.tar.gz
lwn-d0be6bdea103b8d04c8a3495538b7c0011ae4129.zip
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/kernel/efi.c')
-rw-r--r--arch/x86/kernel/efi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/efi.c b/arch/x86/kernel/efi.c
index d5c7fcdd1861..473c89fe5073 100644
--- a/arch/x86/kernel/efi.c
+++ b/arch/x86/kernel/efi.c
@@ -233,7 +233,7 @@ static void __init add_efi_memmap(void)
e820_type = E820_RAM;
else
e820_type = E820_RESERVED;
- add_memory_region(start, size, e820_type);
+ e820_add_region(start, size, e820_type);
}
sanitize_e820_map(e820.map, ARRAY_SIZE(e820.map), &e820.nr_map);
}