]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9bb866150e418ce0c1608aabfb2cd217d5f6b2b9
treed5e6c47d8a635e07b3dfb3c115f8cae34fc7c553
parent083be3026d4aa2a53e51816e74b453a64704c2dc
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