x86: memblock: set current limit to max low memory address
[cascardo/linux.git] / arch / x86 / kernel / setup.c
index 06853e6..c967559 100644 (file)
@@ -1119,7 +1119,7 @@ void __init setup_arch(char **cmdline_p)
 
        setup_real_mode();
 
-       memblock_set_current_limit(get_max_mapped());
+       memblock_set_current_limit(get_max_low_mapped());
        dma_contiguous_reserve(0);
 
        /*