[PATCH v2 00/12] powerpc: Cleanup use of 'struct ppc_inst'

Christophe Leroy christophe.leroy at csgroup.eu
Tue Jun 15 17:24:30 AEST 2021



Le 15/06/2021 à 09:18, Michael Ellerman a écrit :
> Christophe Leroy <christophe.leroy at csgroup.eu> writes:
>> This series is a cleanup of the use of 'struct ppc_inst'.
>>
>> A confusion is made between internal representation of powerpc
>> instructions with 'struct ppc_inst' and in-memory code which is
>> and will always be an array of 'unsigned int'.
> 
> Why don't we use u32 *, to make it even more explicit what the expected
> size is?
> 

I guess that's historical, we could use u32 *

We can convert it incrementaly maybe ?


More information about the Linuxppc-dev mailing list