2021-05-27 00:09:36 +05:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
|
|
#ifndef _ASM_X86_SWIOTLB_XEN_H
|
|
|
|
#define _ASM_X86_SWIOTLB_XEN_H
|
|
|
|
|
|
|
|
#ifdef CONFIG_SWIOTLB_XEN
|
|
|
|
extern int __init pci_xen_swiotlb_detect(void);
|
|
|
|
extern int pci_xen_swiotlb_init_late(void);
|
|
|
|
#else
|
2021-10-02 21:09:28 +05:00
|
|
|
#define pci_xen_swiotlb_detect NULL
|
2021-05-27 00:09:36 +05:00
|
|
|
static inline int pci_xen_swiotlb_init_late(void) { return -ENXIO; }
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* _ASM_X86_SWIOTLB_XEN_H */
|