summaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/pmi.c
diff options
context:
space:
mode:
authorNathan Chancellor <nathan@kernel.org>2021-08-16 11:57:11 -0700
committerMichael Ellerman <mpe@ellerman.id.au>2021-08-18 23:52:13 +1000
commit3f78c90f9eb2e228f44ecc8f4377753f0e11dbab (patch)
tree519adb1a5174622aed1302932487d7dbb2da742b /arch/powerpc/sysdev/pmi.c
parentcbc06f051c524dcfe52ef0d1f30647828e226d30 (diff)
powerpc/xive: Do not mark xive_request_ipi() as __init
Compiling ppc64le_defconfig with clang-14 shows a modpost warning: WARNING: modpost: vmlinux.o(.text+0xa74e0): Section mismatch in reference from the function xive_setup_cpu_ipi() to the function .init.text:xive_request_ipi() The function xive_setup_cpu_ipi() references the function __init xive_request_ipi(). This is often because xive_setup_cpu_ipi lacks a __init annotation or the annotation of xive_request_ipi is wrong. xive_request_ipi() is called from xive_setup_cpu_ipi(), which is not __init, so xive_request_ipi() should not be marked __init. Remove the attribute so there is no more warning. Fixes: cbc06f051c52 ("powerpc/xive: Do not skip CPU-less nodes when creating the IPIs") Signed-off-by: Nathan Chancellor <nathan@kernel.org> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210816185711.21563-1-nathan@kernel.org
Diffstat (limited to 'arch/powerpc/sysdev/pmi.c')
0 files changed, 0 insertions, 0 deletions