summaryrefslogtreecommitdiffstats
path: root/kernel/dma/coherent.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-02-04 10:11:20 +0100
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2021-02-20 10:13:40 -0500
commitc7fbeca757fe74135d8b6a4c8ddaef76f5775d68 (patch)
tree6d1e5fe3b1cc7f97b5856f4065ef960a08257b22 /kernel/dma/coherent.c
parentb5d7ccb7aac3895c2138fe0980a109116ce15eff (diff)
downloadlinux-c7fbeca757fe74135d8b6a4c8ddaef76f5775d68.tar.bz2
swiotlb: factor out an io_tlb_offset helper
Replace the very genericly named OFFSET macro with a little inline helper that hardcodes the alignment to the only value ever passed. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Jianxiong Gao <jxgao@google.com> Tested-by: Jianxiong Gao <jxgao@google.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'kernel/dma/coherent.c')
0 files changed, 0 insertions, 0 deletions