blob: f0acde68aaea5c3dd685b853f542647393bbbd6b [file] [log] [blame]
Fenghua Yu62fdd762008-10-17 12:14:13 -07001#ifndef ASM_IA64__SWIOTLB_H
2#define ASM_IA64__SWIOTLB_H
3
4#include <linux/dma-mapping.h>
FUJITA Tomonori1da4f982008-12-28 15:02:05 +09005#include <linux/swiotlb.h>
Fenghua Yu62fdd762008-10-17 12:14:13 -07006
Fenghua Yu62fdd762008-10-17 12:14:13 -07007#ifdef CONFIG_SWIOTLB
8extern int swiotlb;
9extern void pci_swiotlb_init(void);
10#else
11#define swiotlb 0
12static inline void pci_swiotlb_init(void)
13{
14}
15#endif
16
17#endif /* ASM_IA64__SWIOTLB_H */