projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8040d77
)
x86: split e820 reserved entries record to late, v7
author
Yinghai Lu
<yhlu.kernel@gmail.com>
Thu, 4 Sep 2008 18:59:22 +0000
(20:59 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 4 Sep 2008 19:04:25 +0000
(21:04 +0200)
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>
arch/x86/kernel/e820.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/e820.c
b/arch/x86/kernel/e820.c
index
a7a7133
..
e24d1bc
100644
(file)
--- a/
arch/x86/kernel/e820.c
+++ b/
arch/x86/kernel/e820.c
@@
-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++;
}
}