Blame view
arch/x86/include/asm/swiotlb.h
670 Bytes
1965aae3c x86: Fix ASM_X86_... |
1 2 |
#ifndef _ASM_X86_SWIOTLB_H #define _ASM_X86_SWIOTLB_H |
1da177e4c Linux-2.6.12-rc2 |
3 |
|
1da4f9894 swiotlb: replace ... |
4 |
#include <linux/swiotlb.h> |
17a941d85 [PATCH] x86_64: U... |
5 |
|
1da177e4c Linux-2.6.12-rc2 |
6 7 |
#ifdef CONFIG_SWIOTLB extern int swiotlb; |
efa631c26 x86, swiotlb: Sim... |
8 9 |
extern int __init pci_swiotlb_detect_override(void); extern int __init pci_swiotlb_detect_4gb(void); |
186a25026 x86: Split swiotl... |
10 |
extern void __init pci_swiotlb_init(void); |
efa631c26 x86, swiotlb: Sim... |
11 |
extern void __init pci_swiotlb_late_init(void); |
1da177e4c Linux-2.6.12-rc2 |
12 13 |
#else #define swiotlb 0 |
efa631c26 x86, swiotlb: Sim... |
14 15 16 17 18 |
static inline int pci_swiotlb_detect_override(void) { return 0; } static inline int pci_swiotlb_detect_4gb(void) |
be54f9d1c x86: remove ifdef... |
19 |
{ |
b18485e7a swiotlb: Remove t... |
20 |
return 0; |
be54f9d1c x86: remove ifdef... |
21 |
} |
186a25026 x86: Split swiotl... |
22 23 24 |
static inline void pci_swiotlb_init(void) { } |
efa631c26 x86, swiotlb: Sim... |
25 26 27 |
static inline void pci_swiotlb_late_init(void) { } |
1da177e4c Linux-2.6.12-rc2 |
28 |
#endif |
cde14bbfb [IA64] swiotlb bu... |
29 |
static inline void dma_mark_clean(void *addr, size_t size) {} |
1965aae3c x86: Fix ASM_X86_... |
30 |
#endif /* _ASM_X86_SWIOTLB_H */ |