Skip to content

Commit

Permalink
x86: split e820 reserved entries record to late, v7
Browse files Browse the repository at this point in the history
try to insert_resource second time, by expanding the resource...

for case: e820 reserved entry is partially overlapped with bar res...

hope it will never happen

Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Yinghai Lu authored and Ingo Molnar committed Sep 4, 2008
1 parent 8040d77 commit fac8f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/kernel/e820.c
Original file line number Diff line number Diff line change
Expand Up @@ -1320,7 +1320,7 @@ void __init e820_reserve_resources_late(void)
res = e820_res;
for (i = 0; i < e820.nr_map; i++) {
if (!res->parent && res->end)
insert_resource(&iomem_resource, res);
reserve_region_with_split(&iomem_resource, res->start, res->end, res->name);
res++;
}
}
Expand Down

0 comments on commit fac8f1e

Please sign in to comment.