On 2021/03/09 06:15PM, Michael Ellerman wrote: > In ppc_function_entry() we look for a specific set of instructions by > masking the instructions and comparing with a known value. Currently > those known values are just literal hex values, and we recently > discovered one of them was wrong. > > Instead construct the values using the existing constants we have for > defining various fields of instructions. > > Suggested-by: Christophe Leroy <christophe.le...@csgroup.eu> > Signed-off-by: Michael Ellerman <m...@ellerman.id.au> > --- > arch/powerpc/include/asm/code-patching.h | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-)
Thanks, Acked-by: Naveen N. Rao <naveen.n....@linux.vnet.ibm.com> - Naveen