Commit | Line | Data |
---|---|---|
1965aae3 PA |
1 | #ifndef _ASM_X86_SWIOTLB_H |
2 | #define _ASM_X86_SWIOTLB_H | |
1da177e4 | 3 | |
1da4f989 | 4 | #include <linux/swiotlb.h> |
17a941d8 | 5 | |
1da177e4 LT |
6 | /* SWIOTLB interface */ |
7 | ||
65f87d8a AK |
8 | extern int swiotlb_force; |
9 | ||
1da177e4 LT |
10 | #ifdef CONFIG_SWIOTLB |
11 | extern int swiotlb; | |
be54f9d1 | 12 | extern void pci_swiotlb_init(void); |
1da177e4 LT |
13 | #else |
14 | #define swiotlb 0 | |
be54f9d1 FT |
15 | static inline void pci_swiotlb_init(void) |
16 | { | |
17 | } | |
1da177e4 LT |
18 | #endif |
19 | ||
cde14bbf JB |
20 | static inline void dma_mark_clean(void *addr, size_t size) {} |
21 | ||
1965aae3 | 22 | #endif /* _ASM_X86_SWIOTLB_H */ |