dect
/
linux-2.6
Archived
13
0
Fork 0

x86: split e820 reserved entries record to late, v7

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>
This commit is contained in:
Yinghai Lu 2008-09-04 20:59:22 +02:00 committed by Ingo Molnar
parent 8040d77688
commit fac8f1e4f9
1 changed files with 1 additions and 1 deletions

View File

@ -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++;
}
}