diff options
Diffstat (limited to 'arch/x86/kernel/efi.c')
-rw-r--r-- | arch/x86/kernel/efi.c | 2 |
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) | |||
233 | e820_type = E820_RAM; | 233 | e820_type = E820_RAM; |
234 | else | 234 | else |
235 | e820_type = E820_RESERVED; | 235 | e820_type = E820_RESERVED; |
236 | add_memory_region(start, size, e820_type); | 236 | e820_add_region(start, size, e820_type); |
237 | } | 237 | } |
238 | sanitize_e820_map(e820.map, ARRAY_SIZE(e820.map), &e820.nr_map); | 238 | sanitize_e820_map(e820.map, ARRAY_SIZE(e820.map), &e820.nr_map); |
239 | } | 239 | } |