]> git.baikalelectronics.ru Git - kernel.git/commit
swiotlb: remove unused fields in io_tlb_mem
authorChao Gao <chao.gao@intel.com>
Fri, 15 Jul 2022 10:45:33 +0000 (18:45 +0800)
committerChristoph Hellwig <hch@lst.de>
Mon, 18 Jul 2022 04:48:54 +0000 (06:48 +0200)
commitf3ba1c9007b8bab226dcbea86da6a3f70898957c
tree9af6377281f886a07e2daf0aa30d6c08290af8e3
parent71b61dc1f5e1aaa6e295576f7cf6e4d04be0ae3f
swiotlb: remove unused fields in io_tlb_mem

Commit 2e4311bb2bd5 ("swiotlb: split up the global swiotlb lock") splits
io_tlb_mem into multiple areas. Each area has its own lock and index. The
global ones are not used so remove them.

Signed-off-by: Chao Gao <chao.gao@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
include/linux/swiotlb.h
kernel/dma/swiotlb.c