Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fac8f1e4 authored by Yinghai Lu's avatar Yinghai Lu Committed by Ingo Molnar
Browse files

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: default avatarIngo Molnar <mingo@elte.hu>
parent 8040d776
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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++;
	}
}