powerpc: Introduce functions for instruction equality
authorJordan Niethe <jniethe5@gmail.com>
Wed, 6 May 2020 03:40:30 +0000 (13:40 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 18 May 2020 14:10:37 +0000 (00:10 +1000)
commit217862d9b98bf08958d57fd7b31b9de0f1a9477d
treeb5cfb7b7b399d667c856076899c5bb85e0587d0b
parentaabd2233b6aefeee6d7a2f667076d8346be1d30a
powerpc: Introduce functions for instruction equality

In preparation for an instruction data type that can not be directly
used with the '==' operator use functions for checking equality.

Signed-off-by: Jordan Niethe <jniethe5@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Balamuruhan S <bala24@linux.ibm.com>
Link: https://lore.kernel.org/r/20200506034050.24806-11-jniethe5@gmail.com
arch/powerpc/include/asm/inst.h
arch/powerpc/kernel/trace/ftrace.c
arch/powerpc/lib/code-patching.c
arch/powerpc/xmon/xmon.c