x86: use FIRMWARE_MEMMAP on x86/E820
authorBernhard Walle <bwalle@suse.de>
Fri, 27 Jun 2008 11:12:55 +0000 (13:12 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 15:55:42 +0000 (17:55 +0200)
commit5dfcf14d5b28174f94cbe9b4fb35d415db61c64a
treed5e6c47d8a635e07b3dfb3c115f8cae34fc7c553
parent69ac9cd629ca96e59f34eb4ccd12d00b2c8276a7
x86: use FIRMWARE_MEMMAP on x86/E820

This patch uses the /sys/firmware/memmap interface provided in the last patch
on the x86 architecture when E820 is used. The patch copies the E820
memory map very early, and registers the E820 map afterwards via
firmware_map_add_early().

Signed-off-by: Bernhard Walle <bwalle@suse.de>
Acked-by: Greg KH <gregkh@suse.de>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
Cc: kexec@lists.infradead.org
Cc: yhlu.kernel@gmail.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/e820.c
include/asm-x86/e820.h