# HG changeset patch # User yamahata@xxxxxxxxxxxxx # Node ID c23c32cc9026f75c45ae3d01a7f1ce4a453e6169 # Parent 85f326903b0db7eb309fa85618d8623be549f911 dom_pa() is unsed only by dom_fw.c. make it static. PATCHNAME: static_dom_pa Signed-off-by: Isaku Yamahata diff -r 85f326903b0d -r c23c32cc9026 xen/arch/ia64/xen/dom_fw.c --- a/xen/arch/ia64/xen/dom_fw.c Fri Apr 21 11:29:00 2006 +0900 +++ b/xen/arch/ia64/xen/dom_fw.c Fri Apr 21 11:29:16 2006 +0900 @@ -33,7 +33,8 @@ unsigned long imva_fw_base = -1; // return domain (meta)physical address for a given imva // this function is a call-back from dom_fw_init -unsigned long dom_pa(unsigned long imva) +static unsigned long +dom_pa(unsigned long imva) { if (dom_fw_base_mpa == -1 || imva_fw_base == -1) { printf("dom_pa: uninitialized! (spinning...)\n"); diff -r 85f326903b0d -r c23c32cc9026 xen/include/asm-ia64/dom_fw.h --- a/xen/include/asm-ia64/dom_fw.h Fri Apr 21 11:29:00 2006 +0900 +++ b/xen/include/asm-ia64/dom_fw.h Fri Apr 21 11:29:16 2006 +0900 @@ -5,7 +5,6 @@ * Dan Magenheimer (dan.magenheimer@xxxxxx) */ -extern unsigned long dom_pa(unsigned long); extern unsigned long dom_fw_setup(struct domain *, const char *, int); #ifndef MB