1 #ifndef _ASM_X86_SWIOTLB_XEN_H
2 #define _ASM_X86_SWIOTLB_XEN_H
3 
4 #ifdef CONFIG_SWIOTLB_XEN
5 extern int xen_swiotlb;
6 extern int __init pci_xen_swiotlb_detect(void);
7 extern void __init pci_xen_swiotlb_init(void);
8 #else
9 #define xen_swiotlb (0)
10 static inline int __init pci_xen_swiotlb_detect(void) { return 0; }
11 static inline void __init pci_xen_swiotlb_init(void) { }
12 #endif
13 
14 #endif /* _ASM_X86_SWIOTLB_XEN_H */
15