Skip to content

Commit

Permalink
remove needless ISA_DMA_THRESHOLD
Browse files Browse the repository at this point in the history
Architectures don't need to define ISA_DMA_THRESHOLD anymore.

Signed-off-by: FUJITA Tomonori <[email protected]>
Acked-by: James Bottomley <[email protected]>
Acked-by: David Howells <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
fujita authored and Jens Axboe committed Aug 7, 2010
1 parent bfe1723 commit 7e005f7
Show file tree
Hide file tree
Showing 20 changed files with 0 additions and 46 deletions.
2 changes: 0 additions & 2 deletions arch/alpha/include/asm/scatterlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@

#include <asm-generic/scatterlist.h>

#define ISA_DMA_THRESHOLD (~0UL)

#endif /* !(_ALPHA_SCATTERLIST_H) */
2 changes: 0 additions & 2 deletions arch/avr32/include/asm/scatterlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@

#include <asm-generic/scatterlist.h>

#define ISA_DMA_THRESHOLD (0xffffffff)

#endif /* __ASM_AVR32_SCATTERLIST_H */
2 changes: 0 additions & 2 deletions arch/blackfin/include/asm/scatterlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@

#include <asm-generic/scatterlist.h>

#define ISA_DMA_THRESHOLD (0xffffffff)

#endif /* !(_BLACKFIN_SCATTERLIST_H) */
2 changes: 0 additions & 2 deletions arch/cris/include/asm/scatterlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@

#include <asm-generic/scatterlist.h>

#define ISA_DMA_THRESHOLD (0x1fffffff)

#endif /* !(__ASM_CRIS_SCATTERLIST_H) */
2 changes: 0 additions & 2 deletions arch/frv/include/asm/scatterlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@

#include <asm-generic/scatterlist.h>

#define ISA_DMA_THRESHOLD (0xffffffffUL)

#endif /* !_ASM_SCATTERLIST_H */
2 changes: 0 additions & 2 deletions arch/h8300/include/asm/scatterlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@

#include <asm-generic/scatterlist.h>

#define ISA_DMA_THRESHOLD (0xffffffff)

#endif /* !(_H8300_SCATTERLIST_H) */
9 changes: 0 additions & 9 deletions arch/ia64/include/asm/scatterlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@
#define _ASM_IA64_SCATTERLIST_H

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

#endif /* _ASM_IA64_SCATTERLIST_H */
2 changes: 0 additions & 2 deletions arch/m32r/include/asm/scatterlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@

#include <asm-generic/scatterlist.h>

#define ISA_DMA_THRESHOLD (0x1fffffff)

#endif /* _ASM_M32R_SCATTERLIST_H */
3 changes: 0 additions & 3 deletions arch/m68k/include/asm/scatterlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,4 @@

#include <asm-generic/scatterlist.h>

/* This is bogus and should go away. */
#define ISA_DMA_THRESHOLD (0x00ffffff)

#endif /* !(_M68K_SCATTERLIST_H) */
2 changes: 0 additions & 2 deletions arch/microblaze/include/asm/scatterlist.h
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
#include <asm-generic/scatterlist.h>

#define ISA_DMA_THRESHOLD (~0UL)
2 changes: 0 additions & 2 deletions arch/mips/include/asm/scatterlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@

#include <asm-generic/scatterlist.h>

#define ISA_DMA_THRESHOLD (0x00ffffffUL)

#endif /* __ASM_SCATTERLIST_H */
2 changes: 0 additions & 2 deletions arch/mn10300/include/asm/scatterlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@

#include <asm-generic/scatterlist.h>

#define ISA_DMA_THRESHOLD (0x00ffffff)

#endif /* _ASM_SCATTERLIST_H */
1 change: 0 additions & 1 deletion arch/parisc/include/asm/scatterlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include <asm/types.h>
#include <asm-generic/scatterlist.h>

#define ISA_DMA_THRESHOLD (~0UL)
#define sg_virt_addr(sg) ((unsigned long)sg_virt(sg))

#endif /* _ASM_PARISC_SCATTERLIST_H */
3 changes: 0 additions & 3 deletions arch/powerpc/include/asm/scatterlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@
#include <asm/dma.h>
#include <asm-generic/scatterlist.h>

#ifdef __powerpc64__
#define ISA_DMA_THRESHOLD (~0UL)
#endif
#define ARCH_HAS_SG_CHAIN

#endif /* _ASM_POWERPC_SCATTERLIST_H */
2 changes: 0 additions & 2 deletions arch/s390/include/asm/scatterlist.h
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
#define ISA_DMA_THRESHOLD (~0UL)

#include <asm-generic/scatterlist.h>
2 changes: 0 additions & 2 deletions arch/score/include/asm/scatterlist.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef _ASM_SCORE_SCATTERLIST_H
#define _ASM_SCORE_SCATTERLIST_H

#define ISA_DMA_THRESHOLD (~0UL)

#include <asm-generic/scatterlist.h>

#endif /* _ASM_SCORE_SCATTERLIST_H */
2 changes: 0 additions & 2 deletions arch/sh/include/asm/scatterlist.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef __ASM_SH_SCATTERLIST_H
#define __ASM_SH_SCATTERLIST_H

#define ISA_DMA_THRESHOLD phys_addr_mask()

#include <asm-generic/scatterlist.h>

#endif /* __ASM_SH_SCATTERLIST_H */
1 change: 0 additions & 1 deletion arch/sparc/include/asm/scatterlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#include <asm-generic/scatterlist.h>

#define ISA_DMA_THRESHOLD (~0UL)
#define ARCH_HAS_SG_CHAIN

#endif /* !(_SPARC_SCATTERLIST_H) */
1 change: 0 additions & 1 deletion arch/x86/include/asm/scatterlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#include <asm-generic/scatterlist.h>

#define ISA_DMA_THRESHOLD (0x00ffffff)
#define ARCH_HAS_SG_CHAIN

#endif /* _ASM_X86_SCATTERLIST_H */
2 changes: 0 additions & 2 deletions arch/xtensa/include/asm/scatterlist.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@

#include <asm-generic/scatterlist.h>

#define ISA_DMA_THRESHOLD (~0UL)

#endif /* _XTENSA_SCATTERLIST_H */

0 comments on commit 7e005f7

Please sign in to comment.