ia64/xen-unstable

changeset 9749:1774144596d5

[IA64] make dom_pa() static

dom_pa() is unsed only by dom_fw.c. make it static.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author awilliam@xenbuild.aw
date Fri Apr 21 09:09:16 2006 -0600 (2006-04-21)
parents 2f86b84d0483
children bd264ded5bec
files xen/arch/ia64/xen/dom_fw.c xen/include/asm-ia64/dom_fw.h
line diff
     1.1 --- a/xen/arch/ia64/xen/dom_fw.c	Fri Apr 21 09:06:38 2006 -0600
     1.2 +++ b/xen/arch/ia64/xen/dom_fw.c	Fri Apr 21 09:09:16 2006 -0600
     1.3 @@ -33,7 +33,8 @@ unsigned long imva_fw_base = -1;
     1.4  
     1.5  // return domain (meta)physical address for a given imva
     1.6  // this function is a call-back from dom_fw_init
     1.7 -unsigned long dom_pa(unsigned long imva)
     1.8 +static unsigned long
     1.9 +dom_pa(unsigned long imva)
    1.10  {
    1.11  	if (dom_fw_base_mpa == -1 || imva_fw_base == -1) {
    1.12  		printf("dom_pa: uninitialized! (spinning...)\n");
     2.1 --- a/xen/include/asm-ia64/dom_fw.h	Fri Apr 21 09:06:38 2006 -0600
     2.2 +++ b/xen/include/asm-ia64/dom_fw.h	Fri Apr 21 09:09:16 2006 -0600
     2.3 @@ -5,7 +5,6 @@
     2.4   *	Dan Magenheimer (dan.magenheimer@hp.com)
     2.5   */
     2.6  
     2.7 -extern unsigned long dom_pa(unsigned long);
     2.8  extern unsigned long dom_fw_setup(struct domain *, const char *, int);
     2.9  
    2.10  #ifndef MB