aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorQinglin Pan <[email protected]>2022-11-28 10:36:43 +0800
committerPalmer Dabbelt <[email protected]>2022-12-09 13:42:26 -0800
commit6ff8ca3f93d3cd2a77f051d2d971cf3638d39546 (patch)
tree80ec1366fc40f0c3a7bc25f6a994c7ea01599e94 /lib/mpi/mpi-mod.c
parent61b2f0bdaa3c7e6956fdac0a7c1e8284b9b81d1d (diff)
riscv: mm: call best_map_size many times during linear-mapping
Modify the best_map_size function to give map_size many times instead of only once, so a memory region can be mapped by both PMD_SIZE and PAGE_SIZE. Signed-off-by: Qinglin Pan <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Reviewed-by: Alexandre Ghiti <[email protected]> Tested-by: Alexandre Ghiti <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions