Skip to content

Commit 7e005f7

Browse files
fujitaJens Axboe
authored andcommitted
remove needless ISA_DMA_THRESHOLD
Architectures don't need to define ISA_DMA_THRESHOLD anymore. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Acked-by: James Bottomley <James.Bottomley@suse.de> Acked-by: David Howells <dhowells@redhat.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
1 parent bfe1723 commit 7e005f7

20 files changed

Lines changed: 0 additions & 46 deletions

File tree

‎arch/alpha/include/asm/scatterlist.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@
33

44
#include <asm-generic/scatterlist.h>
55

6-
#define ISA_DMA_THRESHOLD (~0UL)
7-
86
#endif /* !(_ALPHA_SCATTERLIST_H) */

‎arch/avr32/include/asm/scatterlist.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@
33

44
#include <asm-generic/scatterlist.h>
55

6-
#define ISA_DMA_THRESHOLD (0xffffffff)
7-
86
#endif /* __ASM_AVR32_SCATTERLIST_H */

‎arch/blackfin/include/asm/scatterlist.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@
33

44
#include <asm-generic/scatterlist.h>
55

6-
#define ISA_DMA_THRESHOLD (0xffffffff)
7-
86
#endif /* !(_BLACKFIN_SCATTERLIST_H) */

‎arch/cris/include/asm/scatterlist.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@
33

44
#include <asm-generic/scatterlist.h>
55

6-
#define ISA_DMA_THRESHOLD (0x1fffffff)
7-
86
#endif /* !(__ASM_CRIS_SCATTERLIST_H) */

‎arch/frv/include/asm/scatterlist.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@
33

44
#include <asm-generic/scatterlist.h>
55

6-
#define ISA_DMA_THRESHOLD (0xffffffffUL)
7-
86
#endif /* !_ASM_SCATTERLIST_H */

‎arch/h8300/include/asm/scatterlist.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@
33

44
#include <asm-generic/scatterlist.h>
55

6-
#define ISA_DMA_THRESHOLD (0xffffffff)
7-
86
#endif /* !(_H8300_SCATTERLIST_H) */

‎arch/ia64/include/asm/scatterlist.h‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,6 @@
22
#define _ASM_IA64_SCATTERLIST_H
33

44
#include <asm-generic/scatterlist.h>
5-
/*
6-
* It used to be that ISA_DMA_THRESHOLD had something to do with the
7-
* DMA-limits of ISA-devices. Nowadays, its only remaining use (apart
8-
* from the aha1542.c driver, which isn't 64-bit clean anyhow) is to
9-
* tell the block-layer (via BLK_BOUNCE_ISA) what the max. physical
10-
* address of a page is that is allocated with GFP_DMA. On IA-64,
11-
* that's 4GB - 1.
12-
*/
13-
#define ISA_DMA_THRESHOLD 0xffffffff
145
#define ARCH_HAS_SG_CHAIN
156

167
#endif /* _ASM_IA64_SCATTERLIST_H */

‎arch/m32r/include/asm/scatterlist.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@
33

44
#include <asm-generic/scatterlist.h>
55

6-
#define ISA_DMA_THRESHOLD (0x1fffffff)
7-
86
#endif /* _ASM_M32R_SCATTERLIST_H */

‎arch/m68k/include/asm/scatterlist.h‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,4 @@
33

44
#include <asm-generic/scatterlist.h>
55

6-
/* This is bogus and should go away. */
7-
#define ISA_DMA_THRESHOLD (0x00ffffff)
8-
96
#endif /* !(_M68K_SCATTERLIST_H) */
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
#include <asm-generic/scatterlist.h>
2-
3-
#define ISA_DMA_THRESHOLD (~0UL)

0 commit comments

Comments
 (0)