diff options
| author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-12-06 12:00:33 -0500 |
|---|---|---|
| committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-12-06 12:00:33 -0500 |
| commit | 3d14b5beba35250c548d3851a2b84fce742d8311 (patch) | |
| tree | 065e3d93c3fcbc5ee4c44fa78662393cddbdf6de /arch/x86/include/asm/swiotlb.h | |
| parent | 0719dc341389882cc834ed18fc9b7fc6006b2b85 (diff) | |
| parent | 1bf8e6219552d5dd27012d567ec8c4bb9c2d86b4 (diff) | |
Merge branch 'sa1100' into devel
Diffstat (limited to 'arch/x86/include/asm/swiotlb.h')
| -rw-r--r-- | arch/x86/include/asm/swiotlb.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/x86/include/asm/swiotlb.h b/arch/x86/include/asm/swiotlb.h index b9e4e20174fb..87ffcb12a1b8 100644 --- a/arch/x86/include/asm/swiotlb.h +++ b/arch/x86/include/asm/swiotlb.h | |||
| @@ -3,17 +3,14 @@ | |||
| 3 | 3 | ||
| 4 | #include <linux/swiotlb.h> | 4 | #include <linux/swiotlb.h> |
| 5 | 5 | ||
| 6 | /* SWIOTLB interface */ | ||
| 7 | |||
| 8 | extern int swiotlb_force; | ||
| 9 | |||
| 10 | #ifdef CONFIG_SWIOTLB | 6 | #ifdef CONFIG_SWIOTLB |
| 11 | extern int swiotlb; | 7 | extern int swiotlb; |
| 12 | extern void pci_swiotlb_init(void); | 8 | extern int pci_swiotlb_init(void); |
| 13 | #else | 9 | #else |
| 14 | #define swiotlb 0 | 10 | #define swiotlb 0 |
| 15 | static inline void pci_swiotlb_init(void) | 11 | static inline int pci_swiotlb_init(void) |
| 16 | { | 12 | { |
| 13 | return 0; | ||
| 17 | } | 14 | } |
| 18 | #endif | 15 | #endif |
| 19 | 16 | ||
