diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/e820.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c index 056e65d5012b..8071e2f3d6eb 100644 --- a/arch/x86/kernel/e820.c +++ b/arch/x86/kernel/e820.c | |||
@@ -1072,7 +1072,7 @@ void __init memblock_x86_fill(void) | |||
1072 | * We are safe to enable resizing, beause memblock_x86_fill() | 1072 | * We are safe to enable resizing, beause memblock_x86_fill() |
1073 | * is rather later for x86 | 1073 | * is rather later for x86 |
1074 | */ | 1074 | */ |
1075 | memblock_can_resize = 1; | 1075 | memblock_allow_resize(); |
1076 | 1076 | ||
1077 | for (i = 0; i < e820.nr_map; i++) { | 1077 | for (i = 0; i < e820.nr_map; i++) { |
1078 | struct e820entry *ei = &e820.map[i]; | 1078 | struct e820entry *ei = &e820.map[i]; |
@@ -1087,7 +1087,6 @@ void __init memblock_x86_fill(void) | |||
1087 | memblock_add(ei->addr, ei->size); | 1087 | memblock_add(ei->addr, ei->size); |
1088 | } | 1088 | } |
1089 | 1089 | ||
1090 | memblock_analyze(); | ||
1091 | memblock_dump_all(); | 1090 | memblock_dump_all(); |
1092 | } | 1091 | } |
1093 | 1092 | ||