swiotlb.h 413 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * Copyright (C) 2009 Becky Bruce, Freescale Semiconductor
  4. */
  5. #ifndef __ASM_SWIOTLB_H
  6. #define __ASM_SWIOTLB_H
  7. #include <linux/swiotlb.h>
  8. extern unsigned int ppc_swiotlb_enable;
  9. extern unsigned int ppc_swiotlb_flags;
  10. #ifdef CONFIG_SWIOTLB
  11. void swiotlb_detect_4g(void);
  12. #else
  13. static inline void swiotlb_detect_4g(void) {}
  14. #endif
  15. #endif /* __ASM_SWIOTLB_H */