aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/setup_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/setup_32.c')
-rw-r--r--arch/x86/kernel/setup_32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/setup_32.c b/arch/x86/kernel/setup_32.c
index 4b953dc93883..392812d3c63c 100644
--- a/arch/x86/kernel/setup_32.c
+++ b/arch/x86/kernel/setup_32.c
@@ -427,7 +427,7 @@ void __init setup_arch(char **cmdline_p)
427 find_low_pfn_range(); 427 find_low_pfn_range();
428 428
429 /* max_pfn_mapped is updated here */ 429 /* max_pfn_mapped is updated here */
430 init_memory_mapping(0, (max_low_pfn << PAGE_SHIFT)); 430 max_pfn_mapped = init_memory_mapping(0, (max_low_pfn << PAGE_SHIFT));
431 431
432 reserve_initrd(); 432 reserve_initrd();
433 433