Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: d58071a8a76d779eedab38033ae4c821c30295a5 authored by Linus Torvalds on 28 November 2021, 22:09:19 UTC
Linux 5.16-rc3
Tip revision: d58071a
swiotlb-xen.h
/* 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
#define pci_xen_swiotlb_detect NULL
static inline int pci_xen_swiotlb_init_late(void) { return -ENXIO; }
#endif

#endif /* _ASM_X86_SWIOTLB_XEN_H */
back to top