On Wed, Mar 19, 2025 at 11:35:19AM -0700, Charlie Jenkins wrote: > We have duplicated the definition of the nop instruction in ftrace.h and > in jump_label.c. Move this definition into the generic file insn-def.h > so that they can share the definition with each other and with future > files. > > Signed-off-by: Charlie Jenkins <[email protected]> > Reviewed-by: Alexandre Ghiti <[email protected]> > Tested-by: Alexandre Ghiti <[email protected]> > --- > arch/riscv/include/asm/ftrace.h | 1 - > arch/riscv/include/asm/insn-def.h | 3 +++ > arch/riscv/kernel/ftrace.c | 6 +++--- > arch/riscv/kernel/jump_label.c | 4 ++-- > 4 files changed, 8 insertions(+), 6 deletions(-)
Reviewed-by: Andrew Jones <[email protected]>
