diff options
author | Christoph Hellwig <hch@lst.de> | 2022-06-01 20:49:39 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2022-06-02 07:17:59 +0200 |
commit | e15db62bc5648ab459a570862f654e787c498faf (patch) | |
tree | 9e5919c33c28c858fbd2182556abad35a9042ec8 /include/math-emu | |
parent | e19f8fa6ce1ca9b8b934ba7d2e8f34c95abc6e60 (diff) | |
download | linux-e15db62bc5648ab459a570862f654e787c498faf.tar.gz linux-e15db62bc5648ab459a570862f654e787c498faf.tar.bz2 linux-e15db62bc5648ab459a570862f654e787c498faf.zip |
swiotlb: fix setting ->force_bounce
The swiotlb_init refactor messed up assigning ->force_bounce by doing
it in different places based on what caused the setting of the flag.
Fix this by passing the SWIOTLB_* flags to swiotlb_init_io_tlb_mem
and just setting it there.
Fixes: c6af2aa9ffc9 ("swiotlb: make the swiotlb_init interface more useful")
Reported-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Diffstat (limited to 'include/math-emu')
0 files changed, 0 insertions, 0 deletions