diff options
Diffstat (limited to 'include/asm-sparc/dma-mapping.h')
-rw-r--r-- | include/asm-sparc/dma-mapping.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/include/asm-sparc/dma-mapping.h b/include/asm-sparc/dma-mapping.h index f3a641e6b2c8..7483504259ce 100644 --- a/include/asm-sparc/dma-mapping.h +++ b/include/asm-sparc/dma-mapping.h | |||
@@ -1,11 +1,8 @@ | |||
1 | #ifndef _ASM_SPARC_DMA_MAPPING_H | 1 | #ifndef ___ASM_SPARC_DMA_MAPPING_H |
2 | #define _ASM_SPARC_DMA_MAPPING_H | 2 | #define ___ASM_SPARC_DMA_MAPPING_H |
3 | 3 | #if defined(__sparc__) && defined(__arch64__) | |
4 | 4 | #include <asm-sparc/dma-mapping_64.h> | |
5 | #ifdef CONFIG_PCI | ||
6 | #include <asm-generic/dma-mapping.h> | ||
7 | #else | 5 | #else |
8 | #include <asm-generic/dma-mapping-broken.h> | 6 | #include <asm-sparc/dma-mapping_32.h> |
9 | #endif /* PCI */ | 7 | #endif |
10 | 8 | #endif | |
11 | #endif /* _ASM_SPARC_DMA_MAPPING_H */ | ||