Magellan Linux

Contents of /trunk/kernel26-xen/patches-2.6.25-r1/1067-2.6.25-xen-call-e820_print_map-when-setting-up-memory.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 606 - (show annotations) (download)
Thu May 22 23:13:13 2008 UTC (15 years, 11 months ago) by niro
File size: 993 byte(s)
-ver bump to 2.6.25-magellan-r1:
- linux-2.6.25.4
- fbcondecor-0.9.4
- squashfs-3.3
- unionfs-2.3.3
- tuxonice-3.0-rc7
- linux-phc-0.3.0
- acpi-dstd-0.9a
- reiser4
- xen-3.2.0
. ipw3945-1.2.2

1 From 093d223cd7e4291fe4c7419ff130e9c9ce89ca77 Mon Sep 17 00:00:00 2001
2 From: Eduardo Habkost <ehabkost@redhat.com>
3 Date: Mon, 17 Dec 2007 18:08:13 -0200
4 Subject: [PATCH] Xen: call e820_print_map() when setting up memory
5
6 The memory_setup() behaviour of x86_64 is different, right now.
7
8 Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
9 ---
10 arch/x86/xen/setup.c | 6 ++++++
11 1 files changed, 6 insertions(+), 0 deletions(-)
12
13 diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c
14 index 7b66f26..2216e44 100644
15 --- a/arch/x86/xen/setup.c
16 +++ b/arch/x86/xen/setup.c
17 @@ -20,6 +20,8 @@
18 #include <xen/interface/physdev.h>
19 #include <xen/features.h>
20
21 +#include <asm/proto.h>
22 +
23 #include "xen-ops.h"
24 #include "vdso.h"
25
26 @@ -46,6 +48,10 @@ char * __init xen_memory_setup(void)
27 add_memory_region(0, PFN_PHYS(max_pfn), E820_RAM);
28 #endif
29
30 +#ifdef CONFIG_X86_64
31 + early_printk(KERN_INFO "Xen-provided physical RAM map:\n");
32 + e820_print_map("Xen");
33 +#endif
34 return "Xen";
35 }
36
37 --
38 1.5.4.1
39