Skip to content
Commit ebd4acc0 authored by Alexandre Ghiti's avatar Alexandre Ghiti Committed by Dennis Zhou
Browse files

riscv: Fix wrong size passed to local_flush_tlb_range_asid()



local_flush_tlb_range_asid() takes the size as argument, not the end of
the range to flush, so fix this by computing the size from the end and
the start of the range.

Fixes: 7a92fc8b ("mm: Introduce flush_cache_vmap_early()")
Signed-off-by: default avatarAlexandre Ghiti <alexghiti@rivosinc.com>
Signed-off-by: default avatarDennis Zhou <dennis@kernel.org>
parent 41bccc98
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