On Wed, Apr 29, 2020 at 11:59 AM Alistair Popple <alist...@popple.id.au> wrote: > > There seems to be a minor typo which breaks compilation when > CONFIG_MPROFILE_KERNEL is not enabled. See the fix below. > > --- > arch/powerpc/kernel/trace/ftrace.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/powerpc/kernel/trace/ftrace.c b/arch/powerpc/kernel/trace/ > ftrace.c > index a6064e1977ca..0ad2c9d4ab49 100644 > --- a/arch/powerpc/kernel/trace/ftrace.c > +++ b/arch/powerpc/kernel/trace/ftrace.c > @@ -499,7 +499,7 @@ expected_nop_sequence(void *ip, struct ppc_inst op0, > struct ppc_inst op1) > * The load offset is different depending on the ABI. For simplicity > * just mask it out when doing the compare. > */ > - if ((!ppc_inst_equal(op0), ppc_inst(0x48000008)) || > (ppc_inst_val(op1) & > 0xffff0000) != 0xe8410000) > + if ((!ppc_inst_equal(op0, ppc_inst(0x48000008))) || > (ppc_inst_val(op1) & > 0xffff0000) != 0xe8410000) > return 0; > return 1; > } Thank you. > -- > 2.20.1 > > > >
- Re: [PATCH v6 03/28] powerpc/xmon: Move brea... Christophe Leroy
- Re: [PATCH v6 03/28] powerpc/xmon: Move ... Jordan Niethe
- [PATCH v6 04/28] powerpc/xmon: Use bitwise calculations i... Jordan Niethe
- [PATCH v6 05/28] powerpc: Change calling convention for c... Jordan Niethe
- [PATCH v6 06/28] powerpc: Use a macro for creating instru... Jordan Niethe
- [PATCH v6 07/28] powerpc: Use an accessor for instruction... Jordan Niethe
- [PATCH v6 08/28] powerpc: Use a function for getting the ... Jordan Niethe
- [PATCH v6 09/28] powerpc: Use a function for byte swappin... Jordan Niethe
- [PATCH v6 10/28] powerpc: Introduce functions for instruc... Jordan Niethe
- Re: [PATCH v6 10/28] powerpc: Introduce functions fo... Alistair Popple
- Re: [PATCH v6 10/28] powerpc: Introduce function... Jordan Niethe
- [PATCH v6 11/28] powerpc: Use a datatype for instructions Jordan Niethe
- Re: [PATCH v6 11/28] powerpc: Use a datatype for ins... Alistair Popple
- Re: [PATCH v6 11/28] powerpc: Use a datatype for... Jordan Niethe
- [PATCH v6 12/28] powerpc: Use a function for reading inst... Jordan Niethe
- [PATCH v6 13/28] powerpc: Add a probe_user_read_inst() fu... Jordan Niethe
- [PATCH v6 14/28] powerpc: Add a probe_kernel_read_inst() ... Jordan Niethe
- [PATCH v6 15/28] powerpc/kprobes: Use patch_instruction() Jordan Niethe
- [PATCH v6 16/28] powerpc: Define and use __get_user_instr... Jordan Niethe
- [PATCH v6 17/28] powerpc: Introduce a function for report... Jordan Niethe
- [PATCH v6 18/28] powerpc/xmon: Use a function for reading... Jordan Niethe