diff options
| author | Charlie Jenkins <[email protected]> | 2024-11-08 23:47:36 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2024-11-12 22:45:26 +0000 |
| commit | 0eb512779d642b21ced83778287a0f7a3ca8f2a1 (patch) | |
| tree | 7f15cdf45952c986d13287acb6c34dcf6d38a309 /drivers/cdx/controller/cdx_controller.c | |
| parent | Merge patch series "Zacas/Zabha support and qspinlocks" (diff) | |
| download | kernel-0eb512779d642b21ced83778287a0f7a3ca8f2a1.tar.gz kernel-0eb512779d642b21ced83778287a0f7a3ca8f2a1.zip | |
riscv: Fix default misaligned access trap
Commit d1703dc7bc8e ("RISC-V: Detect unaligned vector accesses
supported") removed the default handlers for handle_misaligned_load()
and handle_misaligned_store(). When the kernel is compiled without
RISCV_SCALAR_MISALIGNED, these handlers are never defined, causing
compilation errors.
Signed-off-by: Charlie Jenkins <[email protected]>
Fixes: d1703dc7bc8e ("RISC-V: Detect unaligned vector accesses supported")
Reviewed-by: Jesse Taube <[email protected]>
Link: https://lore.kernel.org/r/20241108-fix_handle_misaligned_load-v2-1-91d547ce64db@rivosinc.com
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
