Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

FUJITA Tomonori and committed by
Jens Axboe
7e005f79 bfe17231

-46
-2
arch/alpha/include/asm/scatterlist.h
··· 3 3 4 4 #include <asm-generic/scatterlist.h> 5 5 6 - #define ISA_DMA_THRESHOLD (~0UL) 7 - 8 6 #endif /* !(_ALPHA_SCATTERLIST_H) */
-2
arch/avr32/include/asm/scatterlist.h
··· 3 3 4 4 #include <asm-generic/scatterlist.h> 5 5 6 - #define ISA_DMA_THRESHOLD (0xffffffff) 7 - 8 6 #endif /* __ASM_AVR32_SCATTERLIST_H */
-2
arch/blackfin/include/asm/scatterlist.h
··· 3 3 4 4 #include <asm-generic/scatterlist.h> 5 5 6 - #define ISA_DMA_THRESHOLD (0xffffffff) 7 - 8 6 #endif /* !(_BLACKFIN_SCATTERLIST_H) */
-2
arch/cris/include/asm/scatterlist.h
··· 3 3 4 4 #include <asm-generic/scatterlist.h> 5 5 6 - #define ISA_DMA_THRESHOLD (0x1fffffff) 7 - 8 6 #endif /* !(__ASM_CRIS_SCATTERLIST_H) */
-2
arch/frv/include/asm/scatterlist.h
··· 3 3 4 4 #include <asm-generic/scatterlist.h> 5 5 6 - #define ISA_DMA_THRESHOLD (0xffffffffUL) 7 - 8 6 #endif /* !_ASM_SCATTERLIST_H */
-2
arch/h8300/include/asm/scatterlist.h
··· 3 3 4 4 #include <asm-generic/scatterlist.h> 5 5 6 - #define ISA_DMA_THRESHOLD (0xffffffff) 7 - 8 6 #endif /* !(_H8300_SCATTERLIST_H) */
-9
arch/ia64/include/asm/scatterlist.h
··· 2 2 #define _ASM_IA64_SCATTERLIST_H 3 3 4 4 #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 14 5 #define ARCH_HAS_SG_CHAIN 15 6 16 7 #endif /* _ASM_IA64_SCATTERLIST_H */
-2
arch/m32r/include/asm/scatterlist.h
··· 3 3 4 4 #include <asm-generic/scatterlist.h> 5 5 6 - #define ISA_DMA_THRESHOLD (0x1fffffff) 7 - 8 6 #endif /* _ASM_M32R_SCATTERLIST_H */
-3
arch/m68k/include/asm/scatterlist.h
··· 3 3 4 4 #include <asm-generic/scatterlist.h> 5 5 6 - /* This is bogus and should go away. */ 7 - #define ISA_DMA_THRESHOLD (0x00ffffff) 8 - 9 6 #endif /* !(_M68K_SCATTERLIST_H) */
-2
arch/microblaze/include/asm/scatterlist.h
··· 1 1 #include <asm-generic/scatterlist.h> 2 - 3 - #define ISA_DMA_THRESHOLD (~0UL)
-2
arch/mips/include/asm/scatterlist.h
··· 3 3 4 4 #include <asm-generic/scatterlist.h> 5 5 6 - #define ISA_DMA_THRESHOLD (0x00ffffffUL) 7 - 8 6 #endif /* __ASM_SCATTERLIST_H */
-2
arch/mn10300/include/asm/scatterlist.h
··· 13 13 14 14 #include <asm-generic/scatterlist.h> 15 15 16 - #define ISA_DMA_THRESHOLD (0x00ffffff) 17 - 18 16 #endif /* _ASM_SCATTERLIST_H */
-1
arch/parisc/include/asm/scatterlist.h
··· 5 5 #include <asm/types.h> 6 6 #include <asm-generic/scatterlist.h> 7 7 8 - #define ISA_DMA_THRESHOLD (~0UL) 9 8 #define sg_virt_addr(sg) ((unsigned long)sg_virt(sg)) 10 9 11 10 #endif /* _ASM_PARISC_SCATTERLIST_H */
-3
arch/powerpc/include/asm/scatterlist.h
··· 12 12 #include <asm/dma.h> 13 13 #include <asm-generic/scatterlist.h> 14 14 15 - #ifdef __powerpc64__ 16 - #define ISA_DMA_THRESHOLD (~0UL) 17 - #endif 18 15 #define ARCH_HAS_SG_CHAIN 19 16 20 17 #endif /* _ASM_POWERPC_SCATTERLIST_H */
-2
arch/s390/include/asm/scatterlist.h
··· 1 - #define ISA_DMA_THRESHOLD (~0UL) 2 - 3 1 #include <asm-generic/scatterlist.h>
-2
arch/score/include/asm/scatterlist.h
··· 1 1 #ifndef _ASM_SCORE_SCATTERLIST_H 2 2 #define _ASM_SCORE_SCATTERLIST_H 3 3 4 - #define ISA_DMA_THRESHOLD (~0UL) 5 - 6 4 #include <asm-generic/scatterlist.h> 7 5 8 6 #endif /* _ASM_SCORE_SCATTERLIST_H */
-2
arch/sh/include/asm/scatterlist.h
··· 1 1 #ifndef __ASM_SH_SCATTERLIST_H 2 2 #define __ASM_SH_SCATTERLIST_H 3 3 4 - #define ISA_DMA_THRESHOLD phys_addr_mask() 5 - 6 4 #include <asm-generic/scatterlist.h> 7 5 8 6 #endif /* __ASM_SH_SCATTERLIST_H */
-1
arch/sparc/include/asm/scatterlist.h
··· 3 3 4 4 #include <asm-generic/scatterlist.h> 5 5 6 - #define ISA_DMA_THRESHOLD (~0UL) 7 6 #define ARCH_HAS_SG_CHAIN 8 7 9 8 #endif /* !(_SPARC_SCATTERLIST_H) */
-1
arch/x86/include/asm/scatterlist.h
··· 3 3 4 4 #include <asm-generic/scatterlist.h> 5 5 6 - #define ISA_DMA_THRESHOLD (0x00ffffff) 7 6 #define ARCH_HAS_SG_CHAIN 8 7 9 8 #endif /* _ASM_X86_SCATTERLIST_H */
-2
arch/xtensa/include/asm/scatterlist.h
··· 13 13 14 14 #include <asm-generic/scatterlist.h> 15 15 16 - #define ISA_DMA_THRESHOLD (~0UL) 17 - 18 16 #endif /* _XTENSA_SCATTERLIST_H */