b9e4e20174fbb0c9519848f1f542b2bb3e9c2a89
[safe/jmp/linux-2.6] / arch / x86 / include / asm / swiotlb.h
1 #ifndef _ASM_X86_SWIOTLB_H
2 #define _ASM_X86_SWIOTLB_H
3
4 #include <linux/swiotlb.h>
5
6 /* SWIOTLB interface */
7
8 extern int swiotlb_force;
9
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)
16 {
17 }
18 #endif
19
20 static inline void dma_mark_clean(void *addr, size_t size) {}
21
22 #endif /* _ASM_X86_SWIOTLB_H */