Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 3906fe9bb7f1a2c8667ae54e967dc8690824f4ea authored by Linus Torvalds on 25 October 2021, 18:30:31 UTC
Linux 5.15-rc7
Tip revision: 3906fe9
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