diff options
author | Samuel Holland <[email protected]> | 2022-11-26 00:09:20 -0600 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2022-12-08 17:22:54 -0800 |
commit | 583286e2072ed25c31b7db14d69fdf03f1fae7ba (patch) | |
tree | ad30ae9d9f32c95837d3b1e0c274a3e2f8b52102 /lib/mpi/mpi-mod.c | |
parent | 0c49688174f5347c3f8012e84c0ffa0d2b2890c8 (diff) |
riscv: Move cast inside kernel_mapping_[pv]a_to_[vp]a
Before commit 44c922572952 ("RISC-V: enable XIP"), these macros cast
their argument to unsigned long. That commit moved the cast after an
assignment to an unsigned long variable, rendering it ineffectual.
Move the cast back, so we can remove the cast at each call site.
Reviewed-by: Alexandre Ghiti <[email protected]>
Reviewed-by: Heiko Stuebner <[email protected]>
Signed-off-by: Samuel Holland <[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