Isaku Yamahata
2008-Jun-16 08:39 UTC
[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)
# HG changeset patch # User Isaku Yamahata <yamahata@valinux.co.jp> # 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@valinux.co.jp> 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@lists.xensource.com http://lists.xensource.com/xen-devel