diff options
author | Ross Lagerwall <ross.lagerwall@citrix.com> | 2023-09-11 12:32:51 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2023-09-13 14:13:15 +0200 |
commit | a6a241764f69c62d23fc6960920cc662ae4069e9 (patch) | |
tree | 9199ccaf9a9fc14e40dbf6899663283aff538d7f /kernel/usermode_driver.c | |
parent | Linux 6.6-rc1 (diff) | |
download | linux-a6a241764f69c62d23fc6960920cc662ae4069e9.tar.xz linux-a6a241764f69c62d23fc6960920cc662ae4069e9.zip |
swiotlb: use the calculated number of areas
Commit 8ac04063354a ("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: 8ac04063354a ("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>
Diffstat (limited to 'kernel/usermode_driver.c')
0 files changed, 0 insertions, 0 deletions