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 <[email protected]> > Signed-off-by: Michael Ellerman <[email protected]> > --- > arch/powerpc/include/asm/code-patching.h | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-)
Thanks, Acked-by: Naveen N. Rao <[email protected]> - Naveen
