mm: fix exec activate_mm vs TLB shootdown and lazy tlb switching race
[linux/fpc-iii.git] / arch / ia64 / include / asm / swiotlb.h
blob841e2c7d0b2199df80a9192d4ec242588a46d9ff
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef ASM_IA64__SWIOTLB_H
3 #define ASM_IA64__SWIOTLB_H
5 #include <linux/dma-mapping.h>
6 #include <linux/swiotlb.h>
8 #ifdef CONFIG_SWIOTLB
9 extern int swiotlb;
10 extern void pci_swiotlb_init(void);
11 #else
12 #define swiotlb 0
13 static inline void pci_swiotlb_init(void)
16 #endif
18 #endif /* ASM_IA64__SWIOTLB_H */