summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorChristof Schmitt <christof.schmitt@de.ibm.com>2010-10-25 16:10:10 +0200
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2010-10-25 16:10:15 +0200
commit87799ebab760dd1460f6e4193d4f71ba416d1451 (patch)
treeb72cb9811b6a5b549834d06060a422f51e420a16 /arch/s390
parent014859430ba72ffeb363a4acd2200851765fe6de (diff)
downloadop-kernel-dev-87799ebab760dd1460f6e4193d4f71ba416d1451.zip
op-kernel-dev-87799ebab760dd1460f6e4193d4f71ba416d1451.tar.gz
[S390] set ARCH_HAS_SG_CHAIN for s390
Set ARCH_HAS_SG_CHAIN for scatter lists on s390. Without this flag the SCSI code limits the maximum number of segments, so set it to make proper use of the FCP channel hardware. Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/include/asm/scatterlist.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/s390/include/asm/scatterlist.h b/arch/s390/include/asm/scatterlist.h
index 35d786f..6d45ef6 100644
--- a/arch/s390/include/asm/scatterlist.h
+++ b/arch/s390/include/asm/scatterlist.h
@@ -1 +1,3 @@
#include <asm-generic/scatterlist.h>
+
+#define ARCH_HAS_SG_CHAIN
OpenPOWER on IntegriCloud