Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: bd0a521e88aa7a06ae7aabaed7ae196ed4ad867a authored by Linus Torvalds on 08 July 2012, 00:23:56 UTC
Linux 3.5-rc6
Tip revision: bd0a521
swiotlb-xen.h
#ifndef _ASM_X86_SWIOTLB_XEN_H
#define _ASM_X86_SWIOTLB_XEN_H

#ifdef CONFIG_SWIOTLB_XEN
extern int xen_swiotlb;
extern int __init pci_xen_swiotlb_detect(void);
extern void __init pci_xen_swiotlb_init(void);
#else
#define xen_swiotlb (0)
static inline int __init pci_xen_swiotlb_detect(void) { return 0; }
static inline void __init pci_xen_swiotlb_init(void) { }
#endif

#endif /* _ASM_X86_SWIOTLB_XEN_H */
back to top