summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/scatterlist.h
diff options
context:
space:
mode:
authorFUJITA Tomonori2010-05-26 23:44:34 +0200
committerLinus Torvalds2010-05-27 18:12:54 +0200
commit1ef04370d823a811d2cca9f237097559a6b99b12 (patch)
tree9b8d9feaa2fd47df7e42009128803bee78490bc3 /arch/microblaze/include/asm/scatterlist.h
parentalpha: use asm-generic/scatterlist.h (diff)
downloadkernel-qcow2-linux-1ef04370d823a811d2cca9f237097559a6b99b12.tar.gz
kernel-qcow2-linux-1ef04370d823a811d2cca9f237097559a6b99b12.tar.xz
kernel-qcow2-linux-1ef04370d823a811d2cca9f237097559a6b99b12.zip
asm-generic: remove ARCH_HAS_SG_CHAIN in scatterlist.h
There are more architectures that don't support ARCH_HAS_SG_CHAIN than those that support it. This removes removes ARCH_HAS_SG_CHAIN in asm-generic/scatterlist.h and lets arhictectures to define it. It's clearer than defining ARCH_HAS_SG_CHAIN asm-generic/scatterlist.h and undefing it in arhictectures that don't support it. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/microblaze/include/asm/scatterlist.h')
-rw-r--r--arch/microblaze/include/asm/scatterlist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/microblaze/include/asm/scatterlist.h b/arch/microblaze/include/asm/scatterlist.h
index be44d94cba54..dc4a8900cc80 100644
--- a/arch/microblaze/include/asm/scatterlist.h
+++ b/arch/microblaze/include/asm/scatterlist.h
@@ -1,3 +1,3 @@
-#define ISA_DMA_THRESHOLD (~0UL)
-
#include <asm-generic/scatterlist.h>
+
+#define ISA_DMA_THRESHOLD (~0UL)