]>
Commit | Line | Data |
---|---|---|
62fdd767 FY |
1 | #ifndef ASM_IA64__SWIOTLB_H |
2 | #define ASM_IA64__SWIOTLB_H | |
3 | ||
4 | #include <linux/dma-mapping.h> | |
1da4f989 | 5 | #include <linux/swiotlb.h> |
62fdd767 | 6 | |
62fdd767 FY |
7 | #ifdef CONFIG_SWIOTLB |
8 | extern int swiotlb; | |
9 | extern void pci_swiotlb_init(void); | |
10 | #else | |
11 | #define swiotlb 0 | |
12 | static inline void pci_swiotlb_init(void) | |
13 | { | |
14 | } | |
15 | #endif | |
16 | ||
17 | #endif /* ASM_IA64__SWIOTLB_H */ |