[PATCH v5 05/21] powerpc: Use a function for getting the instruction op code

Segher Boessenkool segher at kernel.crashing.org
Thu Apr 9 04:21:09 AEST 2020


Hi!

On Mon, Apr 06, 2020 at 06:09:20PM +1000, Jordan Niethe wrote:
> +static inline int ppc_inst_opcode(u32 x)
> +{
> +	return x >> 26;
> +}

Maybe you should have "primary opcode" in this function name?


Segher


More information about the Linuxppc-dev mailing list