aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2021-03-09 17:53:15 +1100
committerMichael Ellerman <[email protected]>2021-03-10 07:58:04 +1100
commit7aed41cff35a9aaf3431b8c0c23daa7d8bb77cd3 (patch)
tree3c17ec7fad5d0ab7612be5a6c52e003db61e32a8 /lib/mpi/mpiutil.c
parentcea15316ceee2d4a51dfdecd79e08a438135416c (diff)
powerpc/64s: Use symbolic macros for function entry encoding
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]> Acked-by: Naveen N. Rao <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions