debuggers.hg
changeset 17903:0df3bf8aac1e
[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>
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>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Mon Jun 16 16:35:17 2008 +0100 (2008-06-16) |
parents | 4bb8a4f66eff |
children | 3d99b9d82208 |
files | xen/arch/ia64/xen/xenmem.c xen/include/asm-ia64/mm.h |
line diff
1.1 --- a/xen/arch/ia64/xen/xenmem.c Mon Jun 16 15:22:41 2008 +0100 1.2 +++ b/xen/arch/ia64/xen/xenmem.c Mon Jun 16 16:35:17 2008 +0100 1.3 @@ -17,8 +17,6 @@ 1.4 #include <linux/efi.h> 1.5 #include <asm/pgalloc.h> 1.6 1.7 -extern unsigned long frametable_pg_dir[]; 1.8 - 1.9 #define FRAMETABLE_PGD_OFFSET(ADDR) \ 1.10 (frametable_pg_dir + (((ADDR) >> PGDIR_SHIFT) & \ 1.11 ((1UL << (PAGE_SHIFT - 3)) - 1)))
2.1 --- a/xen/include/asm-ia64/mm.h Mon Jun 16 15:22:41 2008 +0100 2.2 +++ b/xen/include/asm-ia64/mm.h Mon Jun 16 16:35:17 2008 +0100 2.3 @@ -138,6 +138,7 @@ void share_xen_page_with_guest(struct pa 2.4 void share_xen_page_with_privileged_guests(struct page_info *page, 2.5 int readonly); 2.6 2.7 +extern unsigned long frametable_pg_dir[]; 2.8 extern struct page_info *frame_table; 2.9 extern unsigned long frame_table_size; 2.10 extern struct list_head free_list;