]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0615c52c43e62bcbfb0e2b7ddb0f4a66480e6893
treecfc0bbe4d0f7367bb009c8b234ca1b0b4fd806b6
parent155740eb4d33ce3a3ca0d38d270a3f49add1ff95
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