Skip to contentSkip to conversation

kexec: e820-64bit

PATCH In review Eric W. Biederman 1 participant 1 message Aug 20, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 7/14 kexec: e820-64bit

It is ok to reserve resources > 4G on x86_64
struct resource is 64bit now :)

arch/x86_64/kernel/e820.c +0 -2
diff -uNr linux-2.6.8.1-mm2-ioapic-virtwire-on-shutdown.x86_64/arch/x86_64/kernel/e820.c linux-2.6.8.1-mm2-e820-64bit.x86_64/arch/x86_64/kernel/e820.c
@@ -185,8 +185,6 @@
 	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;