x86: unify the reserve_bootmem() behavior of early_res_to_bootmem()
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
12448e3ef3
commit
df5f6c212c
@ -635,12 +635,8 @@ void __init early_res_to_bootmem(u64 start, u64 end)
|
||||
continue;
|
||||
printk(KERN_INFO " early res: %d [%llx-%llx] %s\n", i,
|
||||
final_start, final_end - 1, r->name);
|
||||
#ifdef CONFIG_X86_64
|
||||
reserve_bootmem_generic(final_start, final_end - final_start);
|
||||
#else
|
||||
reserve_bootmem(final_start, final_end - final_start,
|
||||
BOOTMEM_DEFAULT);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user