aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86_64/kernel/e820.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86_64/kernel/e820.c b/arch/x86_64/kernel/e820.c
index 7c154dfff64a..cf4878309b04 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)
191 int i; 191 int i;
192 for (i = 0; i < e820.nr_map; i++) { 192 for (i = 0; i < e820.nr_map; i++) {
193 struct resource *res; 193 struct resource *res;
194 if (e820.map[i].addr + e820.map[i].size > 0x100000000ULL)
195 continue;
196 res = alloc_bootmem_low(sizeof(struct resource)); 194 res = alloc_bootmem_low(sizeof(struct resource));
197 switch (e820.map[i].type) { 195 switch (e820.map[i].type) {
198 case E820_RAM: res->name = "System RAM"; break; 196 case E820_RAM: res->name = "System RAM"; break;