19 lines
344 B
C
19 lines
344 B
C
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||
|
#ifndef ASM_IA64__SWIOTLB_H
|
||
|
#define ASM_IA64__SWIOTLB_H
|
||
|
|
||
|
#include <linux/dma-mapping.h>
|
||
|
#include <linux/swiotlb.h>
|
||
|
|
||
|
#ifdef CONFIG_SWIOTLB
|
||
|
extern int swiotlb;
|
||
|
extern void pci_swiotlb_init(void);
|
||
|
#else
|
||
|
#define swiotlb 0
|
||
|
static inline void pci_swiotlb_init(void)
|
||
|
{
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
#endif /* ASM_IA64__SWIOTLB_H */
|