]> Pileus Git - ~andy/linux/blobdiff - arch/x86/kernel/setup.c
x86: memblock: set current limit to max low memory address
[~andy/linux] / arch / x86 / kernel / setup.c
index 06853e6703541f8349106e17330f86621fa984db..c9675594d7caee907fd6fd78559fe14bf1aea036 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);
 
        /*