Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 32620
b: refs/heads/master
c: a754607
h: refs/heads/master
v: v3
  • Loading branch information
Catalin Marinas authored and Linus Torvalds committed Jul 15, 2006
1 parent 67c484e commit 2a0ca39
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b7015331098cc156c30282588bbd30bbf7a59291
refs/heads/master: a7546075e7c08821732fa04119a9005c55ab432d
5 changes: 4 additions & 1 deletion trunk/arch/i386/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -1327,7 +1327,10 @@ legacy_init_iomem_resources(struct resource *code_resource, struct resource *dat
res->start = e820.map[i].addr;
res->end = res->start + e820.map[i].size - 1;
res->flags = IORESOURCE_MEM | IORESOURCE_BUSY;
request_resource(&iomem_resource, res);
if (request_resource(&iomem_resource, res)) {
kfree(res);
continue;
}
if (e820.map[i].type == E820_RAM) {
/*
* We don't know which RAM region contains kernel data,
Expand Down

0 comments on commit 2a0ca39

Please sign in to comment.