diff options
author | Alexandre Ghiti <alexghiti@rivosinc.com> | 2025-06-20 20:21:58 +0000 |
---|---|---|
committer | Paul Walmsley <pjw@kernel.org> | 2025-09-16 16:28:30 -0600 |
commit | 833bbb0d91d21694ec0d8909b6c71f5df448c575 (patch) | |
tree | b27acf6b65a77ca0ec2f63b1fa11520807934ac7 /lib/dynamic_debug.c | |
parent | 932131fd3ed21538a9b16f14e46b2794f244a196 (diff) |
riscv: Strengthen duplicate and inconsistent definition of RV_X()
RV_X() macro is defined in two different ways which is error prone.
So harmonize its first definition and add another macro RV_X_MASK() for
the second one.
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/20250620-dev-alex-insn_duplicate_v5_manual-v5-2-d865dc9ad180@rivosinc.com
[pjw@kernel.org: upcase the macro name to conform with previous practice]
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions