diff options
author | Samuel Holland <samuel.holland@sifive.com> | 2024-03-27 09:04:45 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-06-26 07:36:32 -0700 |
commit | eaee5487563089bff6ea6dbec38446826dc054cd (patch) | |
tree | 570606556a369598764e5cdde9ce2716d3befe56 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | 51781ce8f4486c3738a6c85175b599ad1be71f89 (diff) |
riscv: Use offset_in_page() in text patching functions
This is a bit easier to parse than the equivalent bit manipulation.
Reviewed-by: Björn Töpel <bjorn@rivosinc.com>
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240327160520.791322-7-samuel.holland@sifive.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions