Skip to contentSkip to conversation

trivial compilation fix caused by c/s 17847:8a0415fac759. (was Re: [Xen-changelog] [xen-unstable] extract vmcoreinfo from /proc/vmcore for Xen)

PATCH New Isaku Yamahata 1 participant 1 message Jun 16, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 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 <[email protected]>
# 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.)

xen/arch/ia64/xen/xenmem.c +0 -2
@@ -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) & \
xen/include/asm-ia64/mm.h +1 -0
@@ -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;
Signature · 1 line
yamahata