[IA64] swiotlb clash fix

Do not define dma_supported to platform_dma_supported when building
the Xen kernel. This happend to work for DIG builds because the
swiotlb.c version of dma_supported compiles to identical code as
arch/i386/kernel/pci-dma-xen.c so the linker didn't complain.

Signed-off-by: Jes Sorensen <jes@sgi.com>
This commit is contained in:
awilliam@xenbuild.aw committed 2006-09-12 11:42:27 -06:00
1 parent b80d869beb
commit b63e1dbb4d
1 file changed
+2
@@ -84,7 +84,9 @@ dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems,
#define dma_sync_single_range_for_device(dev, dma_handle, offset, size, dir) \
dma_sync_single_for_device(dev, dma_handle, size, dir)
#ifndef CONFIG_XEN
#define dma_supported platform_dma_supported
#endif
static inline int
dma_set_mask (struct device *dev, u64 mask)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.