diff options
Diffstat (limited to 'arch/x86/kernel/setup_64.c')
-rw-r--r-- | arch/x86/kernel/setup_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c index 978a0d637f3f..2599b2744207 100644 --- a/arch/x86/kernel/setup_64.c +++ b/arch/x86/kernel/setup_64.c | |||
@@ -396,7 +396,7 @@ void __init setup_arch(char **cmdline_p) | |||
396 | 396 | ||
397 | check_efer(); | 397 | check_efer(); |
398 | 398 | ||
399 | max_pfn_mapped = init_memory_mapping(0, (max_pfn_mapped << PAGE_SHIFT)); | 399 | max_pfn_mapped = init_memory_mapping(0, (end_pfn << PAGE_SHIFT)); |
400 | if (efi_enabled) | 400 | if (efi_enabled) |
401 | efi_init(); | 401 | efi_init(); |
402 | 402 | ||