Skip to content
Commit a6a24176 authored by Ross Lagerwall's avatar Ross Lagerwall Committed by Christoph Hellwig
Browse files

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: default avatarRoss Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 0bb80ecc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment