]> xenbits.xensource.com Git - people/ssmith/netchannel2-pvops.git/commitdiff
xen/swiotlb: make sure prototypes are in scope for swiotlb functions
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Thu, 23 Apr 2009 00:49:10 +0000 (17:49 -0700)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Fri, 26 Jun 2009 00:03:47 +0000 (17:03 -0700)
This makes sure the functions overriding the lib/swiotlb.c weak functions
have the right prototype.

[ Impact: cleanup; better compile checking ]

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
arch/x86/xen/pci-swiotlb.c

index e7e94144dd0feda9ed76e9d6f3f4448a72945973..3b96c87a3ca63e402c73e091269321c00ec04f89 100644 (file)
@@ -1,5 +1,7 @@
 #include <linux/bootmem.h>
 #include <linux/gfp.h>
+#include <linux/dma-mapping.h>
+#include <linux/swiotlb.h>
 
 #include <xen/swiotlb.h>
 #include <asm/xen/hypervisor.h>