blob: 841e2c7d0b2199df80a9192d4ec242588a46d9ff [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Fenghua Yu62fdd762008-10-17 12:14:13 -07002#ifndef ASM_IA64__SWIOTLB_H
3#define ASM_IA64__SWIOTLB_H
4
5#include <linux/dma-mapping.h>
FUJITA Tomonori1da4f982008-12-28 15:02:05 +09006#include <linux/swiotlb.h>
Fenghua Yu62fdd762008-10-17 12:14:13 -07007
Fenghua Yu62fdd762008-10-17 12:14:13 -07008#ifdef CONFIG_SWIOTLB
9extern int swiotlb;
10extern void pci_swiotlb_init(void);
11#else
12#define swiotlb 0
13static inline void pci_swiotlb_init(void)
14{
15}
16#endif
17
18#endif /* ASM_IA64__SWIOTLB_H */