diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-09-04 14:59:22 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-04 15:04:25 -0400 |
commit | fac8f1e4f99dff7a0c3a929f327d66f46de6fa21 (patch) | |
tree | 5732a8cc5a3803d67418677ecde4b88dea39b623 /arch/x86 | |
parent | 8040d77688014987ca5738bf1731db72ab273441 (diff) |
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>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/kernel/e820.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c index a7a71339bfb0..e24d1bc47b46 100644 --- a/arch/x86/kernel/e820.c +++ b/arch/x86/kernel/e820.c | |||
@@ -1320,7 +1320,7 @@ void __init e820_reserve_resources_late(void) | |||
1320 | res = e820_res; | 1320 | res = e820_res; |
1321 | for (i = 0; i < e820.nr_map; i++) { | 1321 | for (i = 0; i < e820.nr_map; i++) { |
1322 | if (!res->parent && res->end) | 1322 | if (!res->parent && res->end) |
1323 | insert_resource(&iomem_resource, res); | 1323 | reserve_region_with_split(&iomem_resource, res->start, res->end, res->name); |
1324 | res++; | 1324 | res++; |
1325 | } | 1325 | } |
1326 | } | 1326 | } |