diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/kernel/setup.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/i386/kernel/setup.c b/arch/i386/kernel/setup.c index d313a11acafa..cec3c925ef99 100644 --- a/arch/i386/kernel/setup.c +++ b/arch/i386/kernel/setup.c | |||
@@ -1286,8 +1286,6 @@ legacy_init_iomem_resources(struct resource *code_resource, struct resource *dat | |||
1286 | probe_roms(); | 1286 | probe_roms(); |
1287 | for (i = 0; i < e820.nr_map; i++) { | 1287 | for (i = 0; i < e820.nr_map; i++) { |
1288 | struct resource *res; | 1288 | struct resource *res; |
1289 | if (e820.map[i].addr + e820.map[i].size > 0x100000000ULL) | ||
1290 | continue; | ||
1291 | res = kzalloc(sizeof(struct resource), GFP_ATOMIC); | 1289 | res = kzalloc(sizeof(struct resource), GFP_ATOMIC); |
1292 | switch (e820.map[i].type) { | 1290 | switch (e820.map[i].type) { |
1293 | case E820_RAM: res->name = "System RAM"; break; | 1291 | case E820_RAM: res->name = "System RAM"; break; |