s390/pci/dma: use correct segment boundary size
authorGerald Schaefer <gerald.schaefer@de.ibm.com>
Tue, 18 Feb 2014 18:47:17 +0000 (19:47 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 21 Feb 2014 07:48:27 +0000 (08:48 +0100)
commit5ec6d4918a45952e99b1b36c93372d79d6927c57
treedbe20b17bd575cbc14cb1967b954c01686083896
parent423edb6fce67133d4524513954af943a75bb6ef5
s390/pci/dma: use correct segment boundary size

The boundary size for iommu_area_alloc() is currently set to a constant
value. This is wrong, we shouldn't use a constant value but rather the
return value of dma_get_seg_boundary(), since a device driver can override
the default.

Reviewed-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/pci/pci_dma.c