diff options
author | Samuel Holland <[email protected]> | 2024-03-01 12:18:32 -0800 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-03-26 08:26:43 -0700 |
commit | 674bc0168e6b68070c75df22e97ab63b6eb60d89 (patch) | |
tree | 2df4e33c6b447ebdcb07d53cf9be4b8c09d1a4b2 /scripts/gdb/linux/pgtable.py | |
parent | 4cece764965020c22cff7665b18a012006359095 (diff) |
riscv: mm: Fix prototype to avoid discarding const
__flush_tlb_range() does not modify the provided cpumask, so its cmask
parameter can be pointer-to-const. This avoids the unsafe cast of
cpu_online_mask.
Fixes: 54d7431af73e ("riscv: Add support for BATCHED_UNMAP_TLB_FLUSH")
Signed-off-by: Samuel Holland <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Reviewed-by: Alexandre Ghiti <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/pgtable.py')
0 files changed, 0 insertions, 0 deletions