]>
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 | #ifdef CONFIG_SWIOTLB |
7 | extern int swiotlb; | |
b18485e7 | 8 | extern int pci_swiotlb_init(void); |
1da177e4 LT |
9 | #else |
10 | #define swiotlb 0 | |
b18485e7 | 11 | static inline int pci_swiotlb_init(void) |
be54f9d1 | 12 | { |
b18485e7 | 13 | return 0; |
be54f9d1 | 14 | } |
1da177e4 LT |
15 | #endif |
16 | ||
cde14bbf JB |
17 | static inline void dma_mark_clean(void *addr, size_t size) {} |
18 | ||
1965aae3 | 19 | #endif /* _ASM_X86_SWIOTLB_H */ |