summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Glauber <jang@linux.vnet.ibm.com>2012-12-05 15:06:01 +0100
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-12-05 11:05:05 -0500
commit9163003236a52fd1a8ee6ca8a04f7232d001fc98 (patch)
tree6503140010f2e811e0bf9bfea3a2e569af07107e
parentc59b9f92653f102856ca7802af551788c143a3a3 (diff)
downloadlinux-9163003236a52fd1a8ee6ca8a04f7232d001fc98.tar.gz
linux-9163003236a52fd1a8ee6ca8a04f7232d001fc98.tar.bz2
linux-9163003236a52fd1a8ee6ca8a04f7232d001fc98.zip
s390/pci: enable NEED_DMA_MAP_STATE
The DMA API allows to avoid DMA unmaps because they are NOPs on some plattforms. But not on s390, so force them. Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r--arch/s390/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index f39a6f54c353..7ea06bee8b30 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -479,6 +479,9 @@ config NEED_SG_DMA_LENGTH
config HAVE_DMA_ATTRS
def_bool PCI
+config NEED_DMA_MAP_STATE
+ def_bool PCI
+
config CHSC_SCH
def_tristate m
prompt "Support for CHSC subchannels"