aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2024-05-16 12:14:44 +0000
committerMichael Ellerman <[email protected]>2024-05-16 13:26:44 +0000
commit61700f816e6f58f6b1aaa881a69a784d146e30f0 (patch)
treee876fd2fd667896eec142a128bccac334578a737 /arch/powerpc/lib/code-patching.c
parentMerge branch 'topic/kdump-hotplug' into next (diff)
downloadkernel-61700f816e6f58f6b1aaa881a69a784d146e30f0.tar.gz
kernel-61700f816e6f58f6b1aaa881a69a784d146e30f0.zip
powerpc/fadump: Fix section mismatch warning
With some compilers/configs fadump_setup_param_area() isn't inlined into its caller (which is __init), leading to a section mismatch warning: WARNING: modpost: vmlinux: section mismatch in reference: fadump_setup_param_area+0x200 (section: .text.fadump_setup_param_area) -> memblock_phys_alloc_range (section: .init.text) Fix it by adding an __init annotation. Fixes: 683eab94da75 ("powerpc/fadump: setup additional parameters for dump capture kernel") Reported-by: Stephen Rothwell <[email protected]> Closes: https://lore.kernel.org/all/[email protected]/ Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions