dma-mapping: move dma_addressing_limited() out of line
authorJia He <justin.he@arm.com>
Sat, 28 Oct 2023 10:20:58 +0000 (10:20 +0000)
committerChristoph Hellwig <hch@lst.de>
Mon, 6 Nov 2023 07:35:09 +0000 (08:35 +0100)
commit8ae0e970319ac0b516d285650a744bab4ed3dd37
tree298f490c689d879c9ad8d64c71edf0430ff1ea70
parenta5e3b127455d073f146a2a4ea3e7117635d34c5c
dma-mapping: move dma_addressing_limited() out of line

This patch moves dma_addressing_limited() out of line, serving as a
preliminary step to prevent the introduction of a new publicly accessible
low-level helper when validating whether all system RAM is mapped within
the DMA mapping range.

Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jia He <justin.he@arm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
include/linux/dma-mapping.h
kernel/dma/mapping.c