Blame view

kernel/linux-rt-4.4.41/arch/x86/include/asm/xen/swiotlb-xen.h 520 Bytes
5113f6f70   김현기   kernel add
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  #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);
  extern int pci_xen_swiotlb_init_late(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) { }
  static inline int pci_xen_swiotlb_init_late(void) { return -ENXIO; }
  #endif
  
  #endif /* _ASM_X86_SWIOTLB_XEN_H */