Re: [PATCH -v2 7/9] swiotlb: add swiotlb_free function

From: Ingo Molnar
Date: Tue Nov 10 2009 - 06:28:17 EST



this patch needed the fix below, for the !CONFIG_SWIOTLB case.

Ingo

diff --git a/include/linux/swiotlb.h b/include/linux/swiotlb.h
index 6b70068..eb9bdb4 100644
--- a/include/linux/swiotlb.h
+++ b/include/linux/swiotlb.h
@@ -87,6 +87,11 @@ swiotlb_dma_mapping_error(struct device *hwdev, dma_addr_t dma_addr);
extern int
swiotlb_dma_supported(struct device *hwdev, u64 mask);

+#ifdef CONFIG_SWIOTLB
extern void __init swiotlb_free(void);
+#else
+static inline void swiotlb_free(void) { }
+#endif
+
extern void swiotlb_print_info(void);
#endif /* __LINUX_SWIOTLB_H */

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/