summaryrefslogtreecommitdiffstats
path: root/arch/x86/xen
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/xen')
-rw-r--r--arch/x86/xen/setup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c
index f9a99eaddcdc..eac010008cd2 100644
--- a/arch/x86/xen/setup.c
+++ b/arch/x86/xen/setup.c
@@ -167,7 +167,8 @@ char * __init xen_memory_setup(void)
extra_pages += PFN_DOWN(end - mem_end);
}
- }
+ } else if (map[i].type != E820_RAM)
+ xen_extra_mem_start = end;
if (map[i].size > 0)
e820_add_region(map[i].addr, map[i].size, map[i].type);
}