[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250320-25d2b6edb008a666151b786f@orel>
Date: Thu, 20 Mar 2025 10:02:33 +0100
From: Andrew Jones <ajones@...tanamicro.com>
To: Charlie Jenkins <charlie@...osinc.com>
Cc: Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>, Ard Biesheuvel <ardb@...nel.org>,
Ben Dooks <ben.dooks@...ethink.co.uk>, Pasha Bouzarjomehri <pasha@...osinc.com>,
Emil Renner Berthing <emil.renner.berthing@...onical.com>, Alexandre Ghiti <alexghiti@...osinc.com>,
Steven Rostedt <rostedt@...dmis.org>, Masami Hiramatsu <mhiramat@...nel.org>,
Mark Rutland <mark.rutland@....com>, Albert Ou <aou@...s.berkeley.edu>,
Peter Zijlstra <peterz@...radead.org>, Josh Poimboeuf <jpoimboe@...nel.org>,
Jason Baron <jbaron@...mai.com>, linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-trace-kernel@...r.kernel.org
Subject: Re: [PATCH v10 1/2] riscv: Move nop definition to insn-def.h
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 <charlie@...osinc.com>
> Reviewed-by: Alexandre Ghiti <alexghiti@...osinc.com>
> Tested-by: Alexandre Ghiti <alexghiti@...osinc.com>
> ---
> 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 <ajones@...tanamicro.com>
Powered by blists - more mailing lists