Skip to content

Commit

Permalink
x86: unify the reserve_bootmem() behavior of early_res_to_bootmem()
Browse files Browse the repository at this point in the history
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Jul 8, 2008
1 parent 12448e3 commit df5f6c2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/x86/kernel/e820.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit df5f6c2

Please sign in to comment.