ia64/xen-unstable

changeset 11450:73cdbd909a8d

[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>
author awilliam@xenbuild.aw
date Tue Sep 12 11:42:27 2006 -0600 (2006-09-12)
parents b55bbf6d4e89
children 3e4fa8b5b245
files linux-2.6-xen-sparse/include/asm-ia64/dma-mapping.h
line diff
     1.1 --- a/linux-2.6-xen-sparse/include/asm-ia64/dma-mapping.h	Tue Sep 12 11:36:39 2006 -0600
     1.2 +++ b/linux-2.6-xen-sparse/include/asm-ia64/dma-mapping.h	Tue Sep 12 11:42:27 2006 -0600
     1.3 @@ -84,7 +84,9 @@ dma_sync_sg_for_device(struct device *de
     1.4  #define dma_sync_single_range_for_device(dev, dma_handle, offset, size, dir)	\
     1.5  	dma_sync_single_for_device(dev, dma_handle, size, dir)
     1.6  
     1.7 +#ifndef CONFIG_XEN
     1.8  #define dma_supported		platform_dma_supported
     1.9 +#endif
    1.10  
    1.11  static inline int
    1.12  dma_set_mask (struct device *dev, u64 mask)