[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [IA64] Trivial warning fix



# HG changeset patch
# User Alex Williamson <alex.williamson@xxxxxx>
# Date 1180107643 21600
# Node ID e54da168363af35cb12519a62751e183b3abe43c
# Parent  2372c3fbf7d2db071a5960b6ea3d63f03fe88266
[IA64] Trivial warning fix

contiguous_bitmap_init has implicit declaration

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 linux-2.6-xen-sparse/arch/ia64/kernel/setup.c      |    2 +-
 linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c    |    2 +-
 linux-2.6-xen-sparse/include/asm-ia64/hypervisor.h |    1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

diff -r 2372c3fbf7d2 -r e54da168363a 
linux-2.6-xen-sparse/arch/ia64/kernel/setup.c
--- a/linux-2.6-xen-sparse/arch/ia64/kernel/setup.c     Fri May 25 09:38:09 
2007 -0600
+++ b/linux-2.6-xen-sparse/arch/ia64/kernel/setup.c     Fri May 25 09:40:43 
2007 -0600
@@ -610,7 +610,7 @@ setup_arch (char **cmdline_p)
 #endif
        paging_init();
 #ifdef CONFIG_XEN
-       contiguous_bitmap_init(max_pfn);
+       xen_contiguous_bitmap_init(max_pfn);
 #endif
 }
 
diff -r 2372c3fbf7d2 -r e54da168363a 
linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c
--- a/linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c   Fri May 25 09:38:09 
2007 -0600
+++ b/linux-2.6-xen-sparse/arch/ia64/xen/hypervisor.c   Fri May 25 09:40:43 
2007 -0600
@@ -158,7 +158,7 @@ __contiguous_bitmap_init(unsigned long s
 }
 
 void
-contiguous_bitmap_init(unsigned long end_pfn)
+xen_contiguous_bitmap_init(unsigned long end_pfn)
 {
        unsigned long size = (end_pfn + 2 * BITS_PER_LONG) >> 3;
 #ifndef CONFIG_VIRTUAL_MEM_MAP
diff -r 2372c3fbf7d2 -r e54da168363a 
linux-2.6-xen-sparse/include/asm-ia64/hypervisor.h
--- a/linux-2.6-xen-sparse/include/asm-ia64/hypervisor.h        Fri May 25 
09:38:09 2007 -0600
+++ b/linux-2.6-xen-sparse/include/asm-ia64/hypervisor.h        Fri May 25 
09:40:43 2007 -0600
@@ -145,6 +145,7 @@ int privcmd_mmap(struct file * file, str
 #define pfn_pte_ma(_x,_y)      __pte_ma(0)     /* unmodified use */
 
 #ifndef CONFIG_VMX_GUEST
+void xen_contiguous_bitmap_init(unsigned long end_pfn);
 int __xen_create_contiguous_region(unsigned long vstart, unsigned int order, 
unsigned int address_bits);
 static inline int
 xen_create_contiguous_region(unsigned long vstart,

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.