Linux 2.6.31.6
[linux/fpc-iii.git] / arch / x86 / include / asm / swiotlb.h
blobb9e4e20174fbb0c9519848f1f542b2bb3e9c2a89
1 #ifndef _ASM_X86_SWIOTLB_H
2 #define _ASM_X86_SWIOTLB_H
4 #include <linux/swiotlb.h>
6 /* SWIOTLB interface */
8 extern int swiotlb_force;
10 #ifdef CONFIG_SWIOTLB
11 extern int swiotlb;
12 extern void pci_swiotlb_init(void);
13 #else
14 #define swiotlb 0
15 static inline void pci_swiotlb_init(void)
18 #endif
20 static inline void dma_mark_clean(void *addr, size_t size) {}
22 #endif /* _ASM_X86_SWIOTLB_H */