X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-i386%2Fmach-xen%2Fasm%2Fswiotlb.h;h=cf4ba38f89d3542a741570963aaa5c882eef40c5;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=c9afcbbf0ea3d1cd5e81e2b0b0fb33bdd3a43a4e;hpb=76828883507a47dae78837ab5dec5a5b4513c667;p=linux-2.6.git diff --git a/include/asm-i386/mach-xen/asm/swiotlb.h b/include/asm-i386/mach-xen/asm/swiotlb.h index c9afcbbf0..cf4ba38f8 100644 --- a/include/asm-i386/mach-xen/asm/swiotlb.h +++ b/include/asm-i386/mach-xen/asm/swiotlb.h @@ -32,6 +32,9 @@ extern void swiotlb_unmap_page(struct device *hwdev, dma_addr_t dma_address, extern int swiotlb_dma_supported(struct device *hwdev, u64 mask); extern void swiotlb_init(void); +/* Width of DMA addresses in the IO TLB. 30 bits is a b44 limitation. */ +#define IO_TLB_DMA_BITS 30 + #ifdef CONFIG_SWIOTLB extern int swiotlb; #else