x86_64: do not reserve ramdisk two times
authorYinghai Lu <yhlu.kernel@gmail.com>
Tue, 18 Mar 2008 19:51:22 +0000 (12:51 -0700)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Apr 2008 17:19:54 +0000 (19:19 +0200)
commit2b8106a0a3d3c1e5b69f091192bc99019ff4d81d
tree22bffad7c1e75ab93b5cb5eb22ce5f0649820d81
parent4a3575fd436aa98957184afd745e4ada8f1542d8
x86_64: do not reserve ramdisk two times

ramdisk is reserved via reserve_early in x86_64_start_kernel,
later early_res_to_bootmem() will convert to reservation in bootmem.

so don't need to reserve that again.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/head64.c
arch/x86/kernel/setup_64.c