diff options
author | John Garry via iommu <[email protected]> | 2021-12-07 19:17:26 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2021-12-17 09:10:40 +0100 |
commit | 972bf252f86062e50f9c9ea81f84f5df0e9f1302 (patch) | |
tree | a5299fc64027e6a620a9aa378b887053c8d78f70 /net/lapb/lapb_in.c | |
parent | 9abe2ac834851a7d0b0756e295cf7a292c45ca53 (diff) |
iommu/iova: Move fast alloc size roundup into alloc_iova_fast()
It really is a property of the IOVA rcache code that we need to alloc a
power-of-2 size, so relocate the functionality to resize into
alloc_iova_fast(), rather than the callsites.
Signed-off-by: John Garry <[email protected]>
Acked-by: Will Deacon <[email protected]>
Reviewed-by: Xie Yongji <[email protected]>
Acked-by: Jason Wang <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
Acked-by: Robin Murphy <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions