summaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/entry-common.h
diff options
context:
space:
mode:
authorJesse Taube <jesse@rivosinc.com>2024-10-17 12:00:20 -0700
committerPalmer Dabbelt <palmer@rivosinc.com>2024-10-18 12:38:32 -0700
commitc05a62c92516d7679c819f8a5177cf84c8668954 (patch)
tree468c6a925e7050466ecb177361db878c47073e1a /arch/riscv/include/asm/entry-common.h
parent9c528b5f7927b857b40f3c46afbc869827af3c94 (diff)
downloadlinux-next-c05a62c92516d7679c819f8a5177cf84c8668954.tar.gz
linux-next-c05a62c92516d7679c819f8a5177cf84c8668954.zip
RISC-V: Replace RISCV_MISALIGNED with RISCV_SCALAR_MISALIGNED
Replace RISCV_MISALIGNED with RISCV_SCALAR_MISALIGNED to allow for the addition of RISCV_VECTOR_MISALIGNED in a later patch. Signed-off-by: Jesse Taube <jesse@rivosinc.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Charlie Jenkins <charlie@rivosinc.com> Reviewed-by: Evan Green <evan@rivosinc.com> Link: https://lore.kernel.org/r/20241017-jesse_unaligned_vector-v10-3-5b33500160f8@rivosinc.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'arch/riscv/include/asm/entry-common.h')
-rw-r--r--arch/riscv/include/asm/entry-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/include/asm/entry-common.h b/arch/riscv/include/asm/entry-common.h
index 2293e535f865..0a4e3544c877 100644
--- a/arch/riscv/include/asm/entry-common.h
+++ b/arch/riscv/include/asm/entry-common.h
@@ -25,7 +25,7 @@ static inline void arch_exit_to_user_mode_prepare(struct pt_regs *regs,
void handle_page_fault(struct pt_regs *regs);
void handle_break(struct pt_regs *regs);
-#ifdef CONFIG_RISCV_MISALIGNED
+#ifdef CONFIG_RISCV_SCALAR_MISALIGNED
int handle_misaligned_load(struct pt_regs *regs);
int handle_misaligned_store(struct pt_regs *regs);
#else