From 093d223cd7e4291fe4c7419ff130e9c9ce89ca77 Mon Sep 17 00:00:00 2001 From: Eduardo Habkost Date: Mon, 17 Dec 2007 18:08:13 -0200 Subject: [PATCH] Xen: call e820_print_map() when setting up memory The memory_setup() behaviour of x86_64 is different, right now. Signed-off-by: Eduardo Habkost --- arch/x86/xen/setup.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c index 7b66f26..2216e44 100644 --- a/arch/x86/xen/setup.c +++ b/arch/x86/xen/setup.c @@ -20,6 +20,8 @@ #include #include +#include + #include "xen-ops.h" #include "vdso.h" @@ -46,6 +48,10 @@ char * __init xen_memory_setup(void) add_memory_region(0, PFN_PHYS(max_pfn), E820_RAM); #endif +#ifdef CONFIG_X86_64 + early_printk(KERN_INFO "Xen-provided physical RAM map:\n"); + e820_print_map("Xen"); +#endif return "Xen"; } -- 1.5.4.1