GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / arch / x86 / include / asm / swiotlb.h
blob8085277e1b8b62747f8d8e57dc1ce16d91214e8c
1 #ifndef _ASM_X86_SWIOTLB_H
2 #define _ASM_X86_SWIOTLB_H
4 #include <linux/swiotlb.h>
6 #ifdef CONFIG_SWIOTLB
7 extern int swiotlb;
8 extern int __init pci_swiotlb_detect(void);
9 extern void __init pci_swiotlb_init(void);
10 #else
11 #define swiotlb 0
12 static inline int pci_swiotlb_detect(void)
14 return 0;
16 static inline void pci_swiotlb_init(void)
19 #endif
21 static inline void dma_mark_clean(void *addr, size_t size) {}
23 #endif /* _ASM_X86_SWIOTLB_H */