xen/setup: Ignore E820_UNUSABLE when setting 1-1 mappings.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 12 Apr 2011 11:57:15 +0000 (07:57 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 12 May 2011 18:32:13 +0000 (14:32 -0400)
commit15bfc094517db2ddf38ca7ed47f3a1c0ad24f7c4
tree44e191de5d4fd4f84c33284cef5764e793ee7972
parent693d92a1bbc9e42681c42ed190bd42b636ca876f
xen/setup: Ignore E820_UNUSABLE when setting 1-1 mappings.

When we parse the raw E820, the Xen hypervisor can set "E820_RAM"
to "E820_UNUSABLE" if the mem=X argument is used. As such we
should _not_ consider the E820_UNUSABLE as an 1-1 identity
mapping, but instead use the same case as for E820_RAM.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/setup.c
This page took 0.027007 seconds and 5 git commands to generate.