swiotlb.h 305 B

1234567891011121314151617
  1. #ifndef ASM_IA64__SWIOTLB_H
  2. #define ASM_IA64__SWIOTLB_H
  3. #include <linux/dma-mapping.h>
  4. #include <linux/swiotlb.h>
  5. #ifdef CONFIG_SWIOTLB
  6. extern int swiotlb;
  7. extern void pci_swiotlb_init(void);
  8. #else
  9. #define swiotlb 0
  10. static inline void pci_swiotlb_init(void)
  11. {
  12. }
  13. #endif
  14. #endif /* ASM_IA64__SWIOTLB_H */