]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: replace hard coded reservations in 64-bit early boot code with dynamic table
authorAndi Kleen <ak@suse.de>
Wed, 30 Jan 2008 12:33:17 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:17 +0000 (13:33 +0100)
commit751752789162fde69474edfa15935d0a77c0bc17
tree43eef77784989bc25979da1cc128e31fc46b3cea
parentedcd81199dbad5db11ae91b507cec1d46dd94a49
x86: replace hard coded reservations in 64-bit early boot code with dynamic table

On x86-64 there are several memory allocations before bootmem. To avoid
them stomping on each other they used to be all hard coded in bad_area().
Replace this with an array that is filled as needed.

This cleans up the code considerably and allows to expand its use.

Cc: peterz@infradead.org
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/e820_64.c
arch/x86/kernel/head64.c
arch/x86/kernel/setup_64.c
arch/x86/mm/init_64.c
arch/x86/mm/numa_64.c
include/asm-x86/e820_64.h
include/asm-x86/proto.h