From: Jan Beulich Date: Wed, 2 May 2007 17:27:11 +0000 (+0200) Subject: [PATCH] x86: fix amd64-agp aperture validation X-Git-Tag: v2.6.22-rc1~1011^2~122 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b92e9fac400d4ae5bc7a75c568e9844ec53ea329;p=pandora-kernel.git [PATCH] x86: fix amd64-agp aperture validation Under CONFIG_DISCONTIGMEM, assuming that a !pfn_valid() implies all subsequent pfn-s are also invalid is wrong. Thus replace this by explicitly checking against the E820 map. AK: make e820 on x86-64 not initdata Signed-off-by: Jan Beulich Signed-off-by: Andi Kleen Acked-by: Mark Langsdorf --- Reading git-diff-tree failed