diff options
| author | Christoph Hellwig <[email protected]> | 2021-03-01 08:44:25 +0100 |
|---|---|---|
| committer | Konrad Rzeszutek Wilk <[email protected]> | 2021-03-17 00:29:41 +0000 |
| commit | 2bdba622c351259317b0294c6e9fe243b2404316 (patch) | |
| tree | b779ee4e5763d820f86572f09280bc2492d07b42 /arch/mips/include/asm/mach-netlogic/multi-node.h | |
| parent | 2973073a80b46daebc352c31d09d95d16cf6876e (diff) | |
swiotlb: move orig addr and size validation into swiotlb_bounce
Move the code to find and validate the original buffer address and size
from the callers into swiotlb_bounce. This means a tiny bit of extra
work in the swiotlb_map path, but avoids code duplication and a leads to
a better code structure.
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'arch/mips/include/asm/mach-netlogic/multi-node.h')
0 files changed, 0 insertions, 0 deletions