swiotlb: use the calculated number of areas
Commit 8ac04063 ("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: 8ac04063 ("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>
Showing
Please register or sign in to comment