Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
swiotlb: use the calculated number of areas
Commit 8ac0406 ("swiotlb: reduce the number of areas to match actual memory pool size") calculated the reduced number of areas in swiotlb_init_remap() but didn't actually use the value. Replace usage of default_nareas accordingly. Fixes: 8ac0406 ("swiotlb: reduce the number of areas to match actual memory pool size") Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
- Loading branch information