diff options
Diffstat (limited to 'arch/x86/mm/init_64.c')
-rw-r--r-- | arch/x86/mm/init_64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/init_64.c b/arch/x86/mm/init_64.c index 210243e94d84..ef9e9cfb1fc2 100644 --- a/arch/x86/mm/init_64.c +++ b/arch/x86/mm/init_64.c | |||
@@ -791,7 +791,7 @@ void __init reserve_bootmem_generic(unsigned long phys, unsigned len) | |||
791 | * This can happen with kdump kernels when accessing | 791 | * This can happen with kdump kernels when accessing |
792 | * firmware tables: | 792 | * firmware tables: |
793 | */ | 793 | */ |
794 | if (pfn < end_pfn_map) | 794 | if (pfn < max_pfn_mapped) |
795 | return; | 795 | return; |
796 | 796 | ||
797 | printk(KERN_ERR "reserve_bootmem: illegal reserve %lx %u\n", | 797 | printk(KERN_ERR "reserve_bootmem: illegal reserve %lx %u\n", |