[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [IA64] trivial compilation fix caused by c/s 17847:8a0415fac759.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1213630517 -3600
# Node ID 0df3bf8aac1e6809eb9c11bb1cb85b3aa555b9ac
# Parent  4bb8a4f66eff8ef4cddc4505a09782fb783c16d5
[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>
---
 xen/arch/ia64/xen/xenmem.c |    2 --
 xen/include/asm-ia64/mm.h  |    1 +
 2 files changed, 1 insertion(+), 2 deletions(-)

diff -r 4bb8a4f66eff -r 0df3bf8aac1e xen/arch/ia64/xen/xenmem.c
--- a/xen/arch/ia64/xen/xenmem.c        Mon Jun 16 15:22:41 2008 +0100
+++ b/xen/arch/ia64/xen/xenmem.c        Mon Jun 16 16:35:17 2008 +0100
@@ -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 -r 4bb8a4f66eff -r 0df3bf8aac1e xen/include/asm-ia64/mm.h
--- a/xen/include/asm-ia64/mm.h Mon Jun 16 15:22:41 2008 +0100
+++ b/xen/include/asm-ia64/mm.h Mon Jun 16 16:35:17 2008 +0100
@@ -138,6 +138,7 @@ void share_xen_page_with_privileged_gues
 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;

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.