[PATCH v2 1/3] powerpc/microwatt: wire up rng during setup_arch

Christophe Leroy christophe.leroy at csgroup.eu
Sun Jun 12 00:48:58 AEST 2022



Le 11/06/2022 à 16:46, Jason A. Donenfeld a écrit :
> Hi again,
> 
> On Sat, Jun 11, 2022 at 04:41:58PM +0200, Jason A. Donenfeld wrote:
>> Hi Christophe,
>>
>> On Sat, Jun 11, 2022 at 4:40 PM Christophe Leroy
>> <christophe.leroy at csgroup.eu> wrote:
>>>>
>>>> +__init void microwatt_rng_init(void);
>>>
>>> This prototype should be declared in a header file, for instance asm/setup.h
>>
>> Alright.
> 
> Actually, on second thought, I don't think this part is worth doing.
> These are per-platform functions, not powerpc-wide.
> 

Then you have:

arch/powerpc/platforms/powernv/powernv.h
arch/powerpc/platforms/pseries/pseries.h

and you can add

arch/powerpc/platforms/microwatt/microwatt.h


More information about the Linuxppc-dev mailing list