diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/platform/efi/efi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c index 899e393d8e73..a4c322ca1a5d 100644 --- a/arch/x86/platform/efi/efi.c +++ b/arch/x86/platform/efi/efi.c | |||
@@ -325,8 +325,7 @@ void __init efi_reserve_boot_services(void) | |||
325 | if ((start+size >= virt_to_phys(_text) | 325 | if ((start+size >= virt_to_phys(_text) |
326 | && start <= virt_to_phys(_end)) || | 326 | && start <= virt_to_phys(_end)) || |
327 | !e820_all_mapped(start, start+size, E820_RAM) || | 327 | !e820_all_mapped(start, start+size, E820_RAM) || |
328 | memblock_x86_check_reserved_size(&start, &size, | 328 | memblock_is_region_reserved(start, size)) { |
329 | 1<<EFI_PAGE_SHIFT)) { | ||
330 | /* Could not reserve, skip it */ | 329 | /* Could not reserve, skip it */ |
331 | md->num_pages = 0; | 330 | md->num_pages = 0; |
332 | memblock_dbg(PFX "Could not reserve boot range " | 331 | memblock_dbg(PFX "Could not reserve boot range " |