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

[Xen-changelog] Fix the implicit declaration of function `swiotlb_init' warning, by including



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 14c26df4f33c73148f96546772a2bdcfc7f17e00
# Parent  a013fa6ee37cbde547e101b8fff2aa2579cad11c
Fix the implicit declaration of function `swiotlb_init' warning, by including
the appropriate headers.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r a013fa6ee37c -r 14c26df4f33c 
linux-2.6-xen-sparse/arch/i386/mm/init-xen.c
--- a/linux-2.6-xen-sparse/arch/i386/mm/init-xen.c      Tue Mar 21 10:56:11 2006
+++ b/linux-2.6-xen-sparse/arch/i386/mm/init-xen.c      Tue Mar 21 11:21:08 2006
@@ -42,6 +42,11 @@
 #include <asm/tlbflush.h>
 #include <asm/sections.h>
 #include <asm/hypervisor.h>
+#if defined(CONFIG_SWIOTLB)
+#include <linux/dma-mapping.h>
+#include <asm/scatterlist.h>
+#include <asm/swiotlb.h>
+#endif
 
 extern unsigned long *contiguous_bitmap;
 

_______________________________________________
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®.