Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / arch / x86 / include / asm / xen / swiotlb-xen.h
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 extern int pci_xen_swiotlb_init_late(void);
9 #else
10 #define xen_swiotlb (0)
11 static inline int __init pci_xen_swiotlb_detect(void) { return 0; }
12 static inline void __init pci_xen_swiotlb_init(void) { }
13 static inline int pci_xen_swiotlb_init_late(void) { return -ENXIO; }
14 #endif
15
16 #endif /* _ASM_X86_SWIOTLB_XEN_H */