Le 15/12/2021 à 17:12, Nick Child a écrit : > Hello all, > > This patchset focuses on redefining/declaring functions that could be > labeled with the macro `__init`. From my understanding, an initialization > function is one which is only needed during the initial phases of booting, > after which it's resources can be freed. I figure that any function which is > only called by other initialization functions may also be labeled as an > initialization function. There are several (mostly static) functions which > can and should be labeled as `__init`. I created some scripts to help > identify these functions. It scans all functions defined in `arch/powerpc` > and, if it is only called by functions with the `__init` attribute, it will > go on to adjust the prototype and definition to include the `__init` > declaration.
Maybe you could also mention or reference https://github.com/linuxppc/issues/issues/282