]> 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)
commit3a22965653c6dfb0f7de26c57709d7c536d636df
treecfc0bbe4d0f7367bb009c8b234ca1b0b4fd806b6
parent4f0be5a267ce1c80d673727864ba230cec2dd40b
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