[IA64] trivial compilation fix caused by c/s 17847:8a0415fac759.
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 16 Jun 2008 15:35:17 +0000 (16:35 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 16 Jun 2008 15:35:17 +0000 (16:35 +0100)
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>
xen/arch/ia64/xen/xenmem.c
xen/include/asm-ia64/mm.h

index 47c3742eee75fdb588f2b6367772b0971a18fae1..a7a6076073318f4eeabcc2ac271f2bf7c63166fa 100644 (file)
@@ -17,8 +17,6 @@
 #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) & \
        ((1UL << (PAGE_SHIFT - 3)) - 1)))
index a5871cc712b603bc967cc93511d9d721fdcb64a6..82bc8e30c9760da1fd7c3d62214fd4d454770cde 100644 (file)
@@ -138,6 +138,7 @@ void share_xen_page_with_guest(struct page_info *page,
 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;