diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index f8ec57815c05..de337983f679 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -1070,7 +1070,7 @@ void __init setup_arch(char **cmdline_p) | |||
1070 | 1070 | ||
1071 | cleanup_highmap(); | 1071 | cleanup_highmap(); |
1072 | 1072 | ||
1073 | memblock.current_limit = ISA_END_ADDRESS; | 1073 | memblock_set_current_limit(ISA_END_ADDRESS); |
1074 | memblock_x86_fill(); | 1074 | memblock_x86_fill(); |
1075 | 1075 | ||
1076 | /* | 1076 | /* |
@@ -1103,7 +1103,7 @@ void __init setup_arch(char **cmdline_p) | |||
1103 | 1103 | ||
1104 | setup_real_mode(); | 1104 | setup_real_mode(); |
1105 | 1105 | ||
1106 | memblock.current_limit = get_max_mapped(); | 1106 | memblock_set_current_limit(get_max_mapped()); |
1107 | dma_contiguous_reserve(0); | 1107 | dma_contiguous_reserve(0); |
1108 | 1108 | ||
1109 | /* | 1109 | /* |