Commit 70adada4 authored by Eric W. Biederman's avatar Eric W. Biederman Committed by Linus Torvalds
Browse files

[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: default avatarEric Biederman <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 9635b47d
......@@ -191,8 +191,6 @@ void __init e820_reserve_resources(void)
int i;
for (i = 0; i < e820.nr_map; i++) {
struct resource *res;
if ([i].addr +[i].size > 0x100000000ULL)
res = alloc_bootmem_low(sizeof(struct resource));
switch ([i].type) {
case E820_RAM: res->name = "System RAM"; break;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment