1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef ASM_IA64__SWIOTLB_H 3 #define ASM_IA64__SWIOTLB_H 4 5 #include <linux/dma-mapping.h> 6 #include <linux/swiotlb.h> 7 8 #ifdef CONFIG_SWIOTLB 9 extern int swiotlb; 10 extern void pci_swiotlb_init(void); 11 #else 12 #define swiotlb 0 pci_swiotlb_init(void)13static inline void pci_swiotlb_init(void) 14 { 15 } 16 #endif 17 18 #endif /* ASM_IA64__SWIOTLB_H */ 19