aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/atom.c
diff options
context:
space:
mode:
authorClément Léger <[email protected]>2025-05-23 10:19:25 +0000
committerPalmer Dabbelt <[email protected]>2025-06-04 22:11:05 +0000
commit1317045a7d6f397904d105f6d40dc9787876a34b (patch)
tree6bdde0ab2bfe2007e9c958d7698e714d72c56e23 /drivers/gpu/drm/amd/amdgpu/atom.c
parentriscv: misaligned: use on_each_cpu() for scalar misaligned access probing (diff)
downloadkernel-1317045a7d6f397904d105f6d40dc9787876a34b.tar.gz
kernel-1317045a7d6f397904d105f6d40dc9787876a34b.zip
riscv: misaligned: declare misaligned_access_speed under CONFIG_RISCV_MISALIGNED
While misaligned_access_speed was defined in a file compile with CONFIG_RISCV_MISALIGNED, its definition was under CONFIG_RISCV_SCALAR_MISALIGNED. This resulted in compilation problems when using it in a file compiled with CONFIG_RISCV_MISALIGNED. Move the declaration under CONFIG_RISCV_MISALIGNED so that it can be used unconditionnally when compiled with that config and remove the check for that variable in traps_misaligned.c. Signed-off-by: Clément Léger <[email protected]> Reviewed-by: Charlie Jenkins <[email protected]> Tested-by: Charlie Jenkins <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions