Messages in this thread | | | From | Christophe Leroy <> | Subject | Re: [PATCH v2 1/3] powerpc/microwatt: wire up rng during setup_arch | Date | Sat, 11 Jun 2022 14:48:58 +0000 |
| |
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@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
| |