]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
remove needless ISA_DMA_THRESHOLD
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Mon, 31 May 2010 06:59:04 +0000 (15:59 +0900)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 7 Aug 2010 16:15:50 +0000 (18:15 +0200)
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>
20 files changed:
arch/alpha/include/asm/scatterlist.h
arch/avr32/include/asm/scatterlist.h
arch/blackfin/include/asm/scatterlist.h
arch/cris/include/asm/scatterlist.h
arch/frv/include/asm/scatterlist.h
arch/h8300/include/asm/scatterlist.h
arch/ia64/include/asm/scatterlist.h
arch/m32r/include/asm/scatterlist.h
arch/m68k/include/asm/scatterlist.h
arch/microblaze/include/asm/scatterlist.h
arch/mips/include/asm/scatterlist.h
arch/mn10300/include/asm/scatterlist.h
arch/parisc/include/asm/scatterlist.h
arch/powerpc/include/asm/scatterlist.h
arch/s390/include/asm/scatterlist.h
arch/score/include/asm/scatterlist.h
arch/sh/include/asm/scatterlist.h
arch/sparc/include/asm/scatterlist.h
arch/x86/include/asm/scatterlist.h
arch/xtensa/include/asm/scatterlist.h

index 5728c52a7412307c49c78098b72918d42499ac8b..017d7471c3c45e2af3a53bb8ed2ddd0a466634e3 100644 (file)
@@ -3,6 +3,4 @@
 
 #include <asm-generic/scatterlist.h>
 
-#define ISA_DMA_THRESHOLD (~0UL)
-
 #endif /* !(_ALPHA_SCATTERLIST_H) */
index 06394e5ead6c51543c71ea16793cd6cad371589d..a5902d9834e811a2887ca050e5aa3942101af6e9 100644 (file)
@@ -3,6 +3,4 @@
 
 #include <asm-generic/scatterlist.h>
 
-#define ISA_DMA_THRESHOLD (0xffffffff)
-
 #endif /* __ASM_AVR32_SCATTERLIST_H */
index 64d41d34ab0b84cafce79f11bcddfa812d8682ff..d177a1588958ba45e9fce22b5df240dcc20d5f4d 100644 (file)
@@ -3,6 +3,4 @@
 
 #include <asm-generic/scatterlist.h>
 
-#define ISA_DMA_THRESHOLD      (0xffffffff)
-
 #endif                         /* !(_BLACKFIN_SCATTERLIST_H) */
index 249a7842ff5f906280fba7b1fa0a5affdeccee1d..f11f8f40ec4ae6d3f77015507d2c3ca8a790473d 100644 (file)
@@ -3,6 +3,4 @@
 
 #include <asm-generic/scatterlist.h>
 
-#define ISA_DMA_THRESHOLD (0x1fffffff)
-
 #endif /* !(__ASM_CRIS_SCATTERLIST_H) */
index 1614bfd7e3a4bb8902509ea7eb04fd7e31020710..0e5eb30184689e5bffd95d9da69c03140daa85d6 100644 (file)
@@ -3,6 +3,4 @@
 
 #include <asm-generic/scatterlist.h>
 
-#define ISA_DMA_THRESHOLD (0xffffffffUL)
-
 #endif /* !_ASM_SCATTERLIST_H */
index de08a4a2cc1c4f76cb9c403d5b33a04b04f242b0..82130eda0e5fc27867f2feecdffb15bb67ad1ad8 100644 (file)
@@ -3,6 +3,4 @@
 
 #include <asm-generic/scatterlist.h>
 
-#define ISA_DMA_THRESHOLD      (0xffffffff)
-
 #endif /* !(_H8300_SCATTERLIST_H) */
index f299a4fb25c86e08fb516fcb1fa22e6df8bab1e1..08fd93bff1db9db95cf828c96483ad4d006c7211 100644 (file)
@@ -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 */
index aeeddd8dac17b7feb6726e73ff3b7c61ce193ba1..7370b8b6243ef1742ad56601abcc2f129adf33c8 100644 (file)
@@ -3,6 +3,4 @@
 
 #include <asm-generic/scatterlist.h>
 
-#define ISA_DMA_THRESHOLD (0x1fffffff)
-
 #endif /* _ASM_M32R_SCATTERLIST_H */
index 175da06c6b9549c27bb87ccd11a06f9d0a4a4b13..312505452a1e5791f053842da6d6f88affe936cb 100644 (file)
@@ -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) */
index dc4a8900cc8087dd6b315e484ada573bb1f7ef1d..35d786fe93ae0dcba7e1cf434606e9e61d1b05c2 100644 (file)
@@ -1,3 +1 @@
 #include <asm-generic/scatterlist.h>
-
-#define ISA_DMA_THRESHOLD      (~0UL)
index 9af65e79be36d3d8398d96a063836af90c506842..7ee0e646d82c694e4392f6e11d690143aa151f91 100644 (file)
@@ -3,6 +3,4 @@
 
 #include <asm-generic/scatterlist.h>
 
-#define ISA_DMA_THRESHOLD (0x00ffffffUL)
-
 #endif /* __ASM_SCATTERLIST_H */
index 7bd00b9e030d427083567d9a223856cfee7d2e18..7baa4006008a350633f8f69c2eb548b5fc0c9c5f 100644 (file)
@@ -13,6 +13,4 @@
 
 #include <asm-generic/scatterlist.h>
 
-#define ISA_DMA_THRESHOLD (0x00ffffff)
-
 #endif /* _ASM_SCATTERLIST_H */
index 2c3b79b54b28ba4899233970ef377002039912b9..8bf1f0dd1f15f584e037c45342f476d4ee2af2c5 100644 (file)
@@ -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 */
index 34cc78fd0ef4281d423faf3022f36f59bf7884a2..de1f620bd5c94dc77e4b2bb273ec0bb6e961ffe5 100644 (file)
@@ -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 */
index be44d94cba549d386e1b6a3abaed0d88b8628336..35d786fe93ae0dcba7e1cf434606e9e61d1b05c2 100644 (file)
@@ -1,3 +1 @@
-#define ISA_DMA_THRESHOLD      (~0UL)
-
 #include <asm-generic/scatterlist.h>
index 4fa1a665821557a0af3f25912bc679df36254917..9f533b8362c788170bfb451a02b40bbe9771829f 100644 (file)
@@ -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 */
index e38d1d4c7f6fdf52f7298995faece12c02a223c8..98dfc3510f1069c8c7323be2185272b068dbff13 100644 (file)
@@ -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 */
index 433e45f05fd4c1f593cf66df60b448668aed665e..92bb638313f82bb358e06f6fa3d45222007803de 100644 (file)
@@ -3,7 +3,6 @@
 
 #include <asm-generic/scatterlist.h>
 
-#define ISA_DMA_THRESHOLD      (~0UL)
 #define ARCH_HAS_SG_CHAIN
 
 #endif /* !(_SPARC_SCATTERLIST_H) */
index fb0b1874396f5fd172c1c61e0adae1da37be2e46..4240878b9d76f1939c7c13f8fa32d9b8a2630af7 100644 (file)
@@ -3,7 +3,6 @@
 
 #include <asm-generic/scatterlist.h>
 
-#define ISA_DMA_THRESHOLD (0x00ffffff)
 #define ARCH_HAS_SG_CHAIN
 
 #endif /* _ASM_X86_SCATTERLIST_H */
index b1f9fdc1d5ba98b90076965a4c50915f99829d6f..a0421a61d9e178c2dc26980f882c428fc36c4d70 100644 (file)
@@ -13,6 +13,4 @@
 
 #include <asm-generic/scatterlist.h>
 
-#define ISA_DMA_THRESHOLD (~0UL)
-
 #endif /* _XTENSA_SCATTERLIST_H */