WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [linux-2.6.18-xen] xen, x86_64: Fix the build.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] xen, x86_64: Fix the build.
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 22 Apr 2008 11:10:10 -0700
Delivery-date: Tue, 22 Apr 2008 11:10:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1208886987 -3600
# Node ID 81c5a517a42b817378b63ced1420684e9bed1e21
# Parent  f128849f9e78a355f10bb510f6aed06f592d0903
xen, x86_64: Fix the build.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 arch/x86_64/kernel/e820-xen.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff -r f128849f9e78 -r 81c5a517a42b arch/x86_64/kernel/e820-xen.c
--- a/arch/x86_64/kernel/e820-xen.c     Tue Apr 22 14:41:51 2008 +0100
+++ b/arch/x86_64/kernel/e820-xen.c     Tue Apr 22 18:56:27 2008 +0100
@@ -45,6 +45,10 @@ unsigned long end_user_pfn = MAXMEM>>PAG
 
 extern struct resource code_resource, data_resource;
 
+#ifdef CONFIG_XEN
+extern struct e820map machine_e820;
+#endif
+
 /* Check for some hardcoded bad areas that early boot is not allowed to touch 
*/ 
 static inline int bad_addr(unsigned long *addrp, unsigned long size)
 { 
@@ -109,8 +113,6 @@ int e820_any_mapped(unsigned long start,
        for (i = 0; i < e820.nr_map; i++) { 
                struct e820entry *ei = &e820.map[i]; 
 #else
-       extern struct e820map machine_e820;
-
        if (!is_initial_xendomain())
                return 0;
        for (i = 0; i < machine_e820.nr_map; i++) {
@@ -141,8 +143,6 @@ int __init e820_all_mapped(unsigned long
        for (i = 0; i < e820.nr_map; i++) {
                struct e820entry *ei = &e820.map[i];
 #else
-       extern struct e820map machine_e820;
-
        if (!is_initial_xendomain())
                return 0;
        for (i = 0; i < machine_e820.nr_map; i++) {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] xen, x86_64: Fix the build., Xen patchbot-linux-2.6.18-xen <=