aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorNick Child <[email protected]>2021-12-16 22:00:16 +0000
committerMichael Ellerman <[email protected]>2021-12-23 11:33:10 +0000
commitd276960d9296b6a9074795fe60a513abf8474e35 (patch)
treead78d75bcbe616149886648a4312accce6eb2637 /arch/powerpc/lib/code-patching.c
parentselftests/powerpc: Add a test of sigreturning to the kernel (diff)
downloadkernel-d276960d9296b6a9074795fe60a513abf8474e35.tar.gz
kernel-d276960d9296b6a9074795fe60a513abf8474e35.zip
powerpc/kernel: Add __init attribute to eligible functions
Some functions defined in `arch/powerpc/kernel` (and one in `arch/powerpc/ kexec`) are deserving of an `__init` macro attribute. These functions are only called by other initialization functions and therefore should inherit the attribute. Also, change function declarations in header files to include `__init`. Signed-off-by: Nick Child <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions