swiotlb-xen.h 407 B

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