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-devel

[Xen-devel] [PATCH] trivial compilation fix caused by c/s 17847:8a0415fa

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] trivial compilation fix caused by c/s 17847:8a0415fac759. (was Re: [Xen-changelog] [xen-unstable] extract vmcoreinfo from /proc/vmcore for Xen)
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Mon, 16 Jun 2008 17:39:47 +0900
Cc: Itsuro Oda <oda@xxxxxxxxxxxxx>
Delivery-date: Mon, 16 Jun 2008 01:40:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200806132110.m5DLAVaS030652@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200806132110.m5DLAVaS030652@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1213605217 -32400
# Node ID 64dd405ab6a16c6c1826ca11def15fcc731b250c
# Parent  ac745ad5f018356b4cf4b1ba127e6c2cc42c4723
[IA64] trivial compilation fix caused by c/s 17847:8a0415fac759.

This patch fixes the following compilation error caused
by c/s 17847:8a0415fac759.

machine_kexec.c: In function 'arch_crash_save_vmcoreinfo':
machine_kexec.c:201: error: 'frametable_pg_dir' undeclared (first use in this 
function)
machine_kexec.c:201: error: (Each undeclared identifier is reported only once
machine_kexec.c:201: error: for each function it appears in.)

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>

diff --git a/xen/arch/ia64/xen/xenmem.c b/xen/arch/ia64/xen/xenmem.c
--- a/xen/arch/ia64/xen/xenmem.c
+++ b/xen/arch/ia64/xen/xenmem.c
@@ -16,8 +16,6 @@
 #ifdef CONFIG_VIRTUAL_FRAME_TABLE
 #include <linux/efi.h>
 #include <asm/pgalloc.h>
-
-extern unsigned long frametable_pg_dir[];
 
 #define FRAMETABLE_PGD_OFFSET(ADDR) \
        (frametable_pg_dir + (((ADDR) >> PGDIR_SHIFT) & \
diff --git a/xen/include/asm-ia64/mm.h b/xen/include/asm-ia64/mm.h
--- a/xen/include/asm-ia64/mm.h
+++ b/xen/include/asm-ia64/mm.h
@@ -138,6 +138,7 @@
 void share_xen_page_with_privileged_guests(struct page_info *page,
                                            int readonly);
 
+extern unsigned long frametable_pg_dir[];
 extern struct page_info *frame_table;
 extern unsigned long frame_table_size;
 extern struct list_head free_list;


-- 
yamahata

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] trivial compilation fix caused by c/s 17847:8a0415fac759. (was Re: [Xen-changelog] [xen-unstable] extract vmcoreinfo from /proc/vmcore for Xen), Isaku Yamahata <=