Displaying 1 result from an estimated 1 matches for "map_raw".
Did you mean:
imap_raw
2011 Apr 07
3
Re: xen: do not create the extra e820 region at an addr lower than 4G
...tree only has 2.6.39-rc2-fixes now -- is that important?
Anyway, the patch itself:
diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c
index 9c38bd1..f831568 100644
--- a/arch/x86/xen/setup.c
+++ b/arch/x86/xen/setup.c
@@ -229,7 +229,7 @@ char * __init xen_memory_setup(void)
memcpy(map_raw, map, sizeof(map));
e820.nr_map = 0;
- xen_extra_mem_start = mem_end;
+ xen_extra_mem_start = mem_end < (1UL<<32) ? (1UL<<32) : mem_end;
for (i = 0; i < memmap.nr_entries; i++) {
unsigned long long end;
"(1UL<<32)" will...