Fenghua Yu | 62fdd76 | 2008-10-17 12:14:13 -0700 | [diff] [blame] | 1 | #ifndef ASM_IA64__SWIOTLB_H |
| 2 | #define ASM_IA64__SWIOTLB_H |
| 3 | |
| 4 | #include <linux/dma-mapping.h> |
FUJITA Tomonori | 1da4f98 | 2008-12-28 15:02:05 +0900 | [diff] [blame] | 5 | #include <linux/swiotlb.h> |
Fenghua Yu | 62fdd76 | 2008-10-17 12:14:13 -0700 | [diff] [blame] | 6 | |
| 7 | extern int swiotlb_force; |
| 8 | |
| 9 | #ifdef CONFIG_SWIOTLB |
| 10 | extern int swiotlb; |
| 11 | extern void pci_swiotlb_init(void); |
| 12 | #else |
| 13 | #define swiotlb 0 |
| 14 | static inline void pci_swiotlb_init(void) |
| 15 | { |
| 16 | } |
| 17 | #endif |
| 18 | |
| 19 | #endif /* ASM_IA64__SWIOTLB_H */ |