diff --git a/arch/i386/kernel/setup.c b/arch/i386/kernel/setup.c index 519e63c3c1306abb1a59b31e017d76e4e671b01d..141041dde74d0c8fe91913b445b2d68626776aed 100644 --- a/arch/i386/kernel/setup.c +++ b/arch/i386/kernel/setup.c @@ -846,7 +846,7 @@ efi_find_max_pfn(unsigned long start, unsigned long end, void *arg) static int __init efi_memory_present_wrapper(unsigned long start, unsigned long end, void *arg) { - memory_present(0, start, end); + memory_present(0, PFN_UP(start), PFN_DOWN(end)); return 0; }