WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [IA64] make dom_pa() static

# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 1774144596d56f074999c28acd499794ba46071a
# Parent  2f86b84d0483590057006cbdb5a37b685ec7c864
[IA64] make dom_pa() static

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

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>

diff -r 2f86b84d0483 -r 1774144596d5 xen/arch/ia64/xen/dom_fw.c
--- a/xen/arch/ia64/xen/dom_fw.c        Fri Apr 21 09:06:38 2006 -0600
+++ b/xen/arch/ia64/xen/dom_fw.c        Fri Apr 21 09:09:16 2006 -0600
@@ -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 2f86b84d0483 -r 1774144596d5 xen/include/asm-ia64/dom_fw.h
--- a/xen/include/asm-ia64/dom_fw.h     Fri Apr 21 09:06:38 2006 -0600
+++ b/xen/include/asm-ia64/dom_fw.h     Fri Apr 21 09:09:16 2006 -0600
@@ -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

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [IA64] make dom_pa() static, Xen patchbot -unstable <=