]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: move reserve_setup_data to setup.c
authorYinghai Lu <yhlu.kernel@gmail.com>
Mon, 30 Jun 2008 23:20:54 +0000 (16:20 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 11:16:14 +0000 (13:16 +0200)
commit28bb22379513ca3cac9d13766064a219c5fc21a9
treee9b870bf99adbbb58e13c454a78366ff83292982
parent102d0a4b56d94e9b7eedfdfb488400271235543f
x86: move reserve_setup_data to setup.c

Ying Huang would like setup_data to be reserved, but not included in the
no save range.

Here we try to modify the e820 table to reserve that range early.
also add that in early_res in case bootloader messes up with the ramdisk.

other solution would be
1. add early_res_to_highmem...
2. early_res_to_e820...
but they could reserve another type memory wrongly, if early_res has some
resource reserved early, and not needed later, but it is not removed from
early_res in time. Like the RAMDISK (already handled).

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: andi@firstfloor.org
Tested-by: Huang, Ying <ying.huang@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/e820.c
arch/x86/kernel/head.c
arch/x86/kernel/head64.c
arch/x86/kernel/setup.c
include/asm-x86/bootparam.h
include/asm-x86/e820.h