Home
last modified time | relevance | path

Searched hist:"456 e8eb324a47573b377f7041f4c038fac403f86" (Results 1 – 2 of 2) sorted by relevance

/linux/arch/powerpc/include/asm/
H A Dxmon.hdiff 456e8eb324a47573b377f7041f4c038fac403f86 Thu Dec 16 23:00:21 CET 2021 Nick Child <nick.child@ibm.com> powerpc/xmon: Add __init attribute to eligible functions

`xmon_register_spus` defined in 'arch/powerpc/xmon' is deserving of an
`__init` macro attribute. This functions is only called by other
initialization functions and therefore should inherit the attribute.
Also, change the function declaration in the header file to include
`__init`.

Signed-off-by: Nick Child <nick.child@ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211216220035.605465-7-nick.child@ibm.com
/linux/arch/powerpc/xmon/
H A Dxmon.cdiff 456e8eb324a47573b377f7041f4c038fac403f86 Thu Dec 16 23:00:21 CET 2021 Nick Child <nick.child@ibm.com> powerpc/xmon: Add __init attribute to eligible functions

`xmon_register_spus` defined in 'arch/powerpc/xmon' is deserving of an
`__init` macro attribute. This functions is only called by other
initialization functions and therefore should inherit the attribute.
Also, change the function declaration in the header file to include
`__init`.

Signed-off-by: Nick Child <nick.child@ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211216220035.605465-7-nick.child@ibm.com