From: Eric W. Biederman Date: Sat, 25 Jun 2005 21:57:42 +0000 (-0700) Subject: [PATCH] kexec: x86_64: e820 64bit fix X-Git-Tag: v2.6.13-rc1~68^2~128 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70adada4282b52130ef31c7722d3fd8d94dacbc2;p=linux-2.6 [PATCH] kexec: x86_64: e820 64bit fix From: Eric W. Biederman It is ok to reserve resources > 4G on x86_64 struct resource is 64bit now :) Signed-off-by: Eric Biederman Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/x86_64/kernel/e820.c b/arch/x86_64/kernel/e820.c index 7c154dfff6..cf4878309b 100644 --- a/arch/x86_64/kernel/e820.c +++ b/arch/x86_64/kernel/e820.c @@ -191,8 +191,6 @@ void __init e820_reserve_resources(void) int i; for (i = 0; i < e820.nr_map; i++) { struct resource *res; - if (e820.map[i].addr + e820.map[i].size > 0x100000000ULL) - continue; res = alloc_bootmem_low(sizeof(struct resource)); switch (e820.map[i].type) { case E820_RAM: res->name = "System RAM"; break;