direct-io.hg
changeset 6219:d4f6247b2a1b
Formatting cleanup.
author | kaf24@firebug.cl.cam.ac.uk |
---|---|
date | Wed Aug 17 15:34:58 2005 +0000 (2005-08-17) |
parents | 7be2d754647d |
children | 7bd1a40ae2bd |
files | linux-2.6-xen-sparse/arch/xen/i386/kernel/pci-dma.c |
line diff
1.1 --- a/linux-2.6-xen-sparse/arch/xen/i386/kernel/pci-dma.c Wed Aug 17 15:09:31 2005 +0000 1.2 +++ b/linux-2.6-xen-sparse/arch/xen/i386/kernel/pci-dma.c Wed Aug 17 15:34:58 2005 +0000 1.3 @@ -24,13 +24,14 @@ struct dma_coherent_mem { 1.4 unsigned long *bitmap; 1.5 }; 1.6 1.7 -#define IOMMU_BUG_ON(test) \ 1.8 -do { \ 1.9 - if (unlikely(test)) { \ 1.10 - printk(KERN_ALERT "Fatal DMA error! Please use 'swiotlb=force'\n"); \ 1.11 - BUG(); \ 1.12 - } \ 1.13 -} while(0) 1.14 +#define IOMMU_BUG_ON(test) \ 1.15 +do { \ 1.16 + if (unlikely(test)) { \ 1.17 + printk(KERN_ALERT "Fatal DMA error! " \ 1.18 + "Please use 'swiotlb=force'\n"); \ 1.19 + BUG(); \ 1.20 + } \ 1.21 +} while (0) 1.22 1.23 int 1.24 dma_map_sg(struct device *hwdev, struct scatterlist *sg, int nents,