mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
[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:
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)
|
||||
|
||||