commit | 8cb63b78791eef67ea95831c6ef5e6039c572b14 | [log] [tgz] |
---|---|---|
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | Wed Aug 17 13:51:11 2016 +0200 |
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | Thu Sep 22 13:42:31 2016 +0200 |
tree | e6f92315c264ace747e66ce950b5127ceeedfc89 | |
parent | 3b13f1fea1be44f29be4150246624502a0227ebd [diff] |
s390/pci_dma: simplify dma address calculation Simplify the code we use to calculate dma addresses by putting everything related in a dma_alloc_address function. Also provide a dma_free_address counterpart. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>