]> 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)
commitba48f3863bf5bbc9e9c5e95efbebb57f8c148793
tree9af6377281f886a07e2daf0aa30d6c08290af8e3
parent6b33c7e3c438ae72fc36d5c71c85246e8e199349
swiotlb: remove unused fields in io_tlb_mem

Commit e458adef91f3 ("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