]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86 boot: extend some internal memory map arrays to handle larger EFI input
authorPaul Jackson <pj@sgi.com>
Wed, 14 May 2008 15:15:40 +0000 (08:15 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 25 May 2008 08:55:11 +0000 (10:55 +0200)
commit028b785888c523baccdf27af0cdbf1deb92edec0
tree7a5ae30398b16fe3b7d7fcb13eb46776917e43b1
parentc3965bd15118742d72b4bc1a290d37b3f081eb98
x86 boot: extend some internal memory map arrays to handle larger EFI input

Extend internal boot time memory tables to allow for up to
three entries per node, which may be larger than the 128 E820MAX
entries handled by the legacy BIOS E820 interface.  The EFI
interface, if present, is capable of passing memory map
entries for these larger node counts.

This patch requires an earlier patch that rewrote code depending
on these array sizes from using E820MAX explicitly to size loops,
to instead using ARRAY_SIZE() of the applicable array.

Another patch following this one will provide the code to pick
up additional memory entries passed via the EFI interface from
the BIOS and insert them in the following, now enlarged, arrays.

Signed-off-by: Paul Jackson <pj@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/e820.c
include/asm-x86/e820.h