diff options
-rw-r--r-- | arch/microblaze/include/asm/scatterlist.h | 2 | ||||
-rw-r--r-- | arch/s390/include/asm/scatterlist.h | 2 | ||||
-rw-r--r-- | arch/score/include/asm/scatterlist.h | 2 | ||||
-rw-r--r-- | arch/sparc/include/asm/scatterlist.h | 2 | ||||
-rw-r--r-- | include/asm-generic/scatterlist.h | 4 |
5 files changed, 8 insertions, 4 deletions
diff --git a/arch/microblaze/include/asm/scatterlist.h b/arch/microblaze/include/asm/scatterlist.h index 35d786fe93ae..be44d94cba54 100644 --- a/arch/microblaze/include/asm/scatterlist.h +++ b/arch/microblaze/include/asm/scatterlist.h | |||
@@ -1 +1,3 @@ | |||
1 | #define ISA_DMA_THRESHOLD (~0UL) | ||
2 | |||
1 | #include <asm-generic/scatterlist.h> | 3 | #include <asm-generic/scatterlist.h> |
diff --git a/arch/s390/include/asm/scatterlist.h b/arch/s390/include/asm/scatterlist.h index 35d786fe93ae..be44d94cba54 100644 --- a/arch/s390/include/asm/scatterlist.h +++ b/arch/s390/include/asm/scatterlist.h | |||
@@ -1 +1,3 @@ | |||
1 | #define ISA_DMA_THRESHOLD (~0UL) | ||
2 | |||
1 | #include <asm-generic/scatterlist.h> | 3 | #include <asm-generic/scatterlist.h> |
diff --git a/arch/score/include/asm/scatterlist.h b/arch/score/include/asm/scatterlist.h index 9f533b8362c7..4fa1a6658215 100644 --- a/arch/score/include/asm/scatterlist.h +++ b/arch/score/include/asm/scatterlist.h | |||
@@ -1,6 +1,8 @@ | |||
1 | #ifndef _ASM_SCORE_SCATTERLIST_H | 1 | #ifndef _ASM_SCORE_SCATTERLIST_H |
2 | #define _ASM_SCORE_SCATTERLIST_H | 2 | #define _ASM_SCORE_SCATTERLIST_H |
3 | 3 | ||
4 | #define ISA_DMA_THRESHOLD (~0UL) | ||
5 | |||
4 | #include <asm-generic/scatterlist.h> | 6 | #include <asm-generic/scatterlist.h> |
5 | 7 | ||
6 | #endif /* _ASM_SCORE_SCATTERLIST_H */ | 8 | #endif /* _ASM_SCORE_SCATTERLIST_H */ |
diff --git a/arch/sparc/include/asm/scatterlist.h b/arch/sparc/include/asm/scatterlist.h index d1120257b033..0fa0d6da2107 100644 --- a/arch/sparc/include/asm/scatterlist.h +++ b/arch/sparc/include/asm/scatterlist.h | |||
@@ -3,6 +3,8 @@ | |||
3 | 3 | ||
4 | #define sg_dma_len(sg) ((sg)->dma_length) | 4 | #define sg_dma_len(sg) ((sg)->dma_length) |
5 | 5 | ||
6 | #define ISA_DMA_THRESHOLD (~0UL) | ||
7 | |||
6 | #include <asm-generic/scatterlist.h> | 8 | #include <asm-generic/scatterlist.h> |
7 | 9 | ||
8 | #endif /* !(_SPARC_SCATTERLIST_H) */ | 10 | #endif /* !(_SPARC_SCATTERLIST_H) */ |
diff --git a/include/asm-generic/scatterlist.h b/include/asm-generic/scatterlist.h index 8b9454496a7c..51a7a43ab0ce 100644 --- a/include/asm-generic/scatterlist.h +++ b/include/asm-generic/scatterlist.h | |||
@@ -34,10 +34,6 @@ struct scatterlist { | |||
34 | #endif /* 64 bit */ | 34 | #endif /* 64 bit */ |
35 | #endif /* sg_dma_len */ | 35 | #endif /* sg_dma_len */ |
36 | 36 | ||
37 | #ifndef ISA_DMA_THRESHOLD | ||
38 | #define ISA_DMA_THRESHOLD (~0UL) | ||
39 | #endif | ||
40 | |||
41 | #define ARCH_HAS_SG_CHAIN | 37 | #define ARCH_HAS_SG_CHAIN |
42 | 38 | ||
43 | #endif /* __ASM_GENERIC_SCATTERLIST_H */ | 39 | #endif /* __ASM_GENERIC_SCATTERLIST_H */ |