summaryrefslogtreecommitdiff
path: root/arch/arm/mm/dma-mapping.c
diff options
context:
space:
mode:
authorTianyu Lan <tiala@microsoft.com>2022-07-28 03:24:20 -0400
committerChristoph Hellwig <hch@lst.de>2022-07-28 07:23:30 -0700
commit5c850d31880e00f063fa2a3746ba212c4bcc510f (patch)
treed567d8722178f5759f98f1b32e528dcb768cc3a3 /arch/arm/mm/dma-mapping.c
parent8419702489f3be7f9e4fcf12c04d9d3f00114d35 (diff)
swiotlb: fix passing local variable to debugfs_create_ulong()
Debugfs node will be run-timely checked and so local variable should be not passed to debugfs_create_ulong(). Fix it via debugfs_create_file() to create io_tlb_used node and calculate used io tlb number with fops_io_tlb_used attribute. Fixes: 20347fca71a3 ("swiotlb: split up the global swiotlb lock") Signed-off-by: Tianyu Lan <tiala@microsoft.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/arm/mm/dma-mapping.c')
0 files changed, 0 insertions, 0 deletions