powerpc/svm: stop using io_tlb_start
authorChristoph Hellwig <hch@lst.de>
Mon, 1 Mar 2021 07:44:23 +0000 (08:44 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 17 Mar 2021 00:13:52 +0000 (00:13 +0000)
commit9906aa5bd6f5a13c9c5488d5426893a7b38b550f
treecfc0bbe4d0f7367bb009c8b234ca1b0b4fd806b6
parent1e28eed17697bcf343c6743f0028cc3b5dd88bf0
powerpc/svm: stop using io_tlb_start

Use the local variable that is passed to swiotlb_init_with_tbl for
freeing the memory in the failure case to isolate the code a little
better from swiotlb internals.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/powerpc/platforms/pseries/svm.c