[PATCH v5 05/21] powerpc: Use a function for getting the instruction op code
Jordan Niethe
jniethe5 at gmail.com
Thu Apr 9 14:48:35 AEST 2020
On Thu, Apr 9, 2020 at 4:21 AM Segher Boessenkool
<segher at kernel.crashing.org> wrote:
>
> 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?
Thanks, that is a good idea.
>
>
> Segher
More information about the Linuxppc-dev
mailing list