linux-next: build warning after merge of the powerpc tree
Hi all,
After merging the powerpc tree, today's linux-next build (powerpc allyesconfig) produced this warning:
WARNING: vmlinux.o(.text+0xa7cb8): Section mismatch in reference from the function .xive_spapr_init() to the function .init.text:.xive_core_init() The function .xive_spapr_init() references
the function __init .xive_core_init().
This is often because .xive_spapr_init lacks a __init
annotation or the annotation of .xive_core_init is wrong.
Introduced by commit
eac1e731b59e ("powerpc/xive: guest exploitation of the XIVE interrupt controller")
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 11 lines · Stephen Rothwell
Hi all,
After merging the powerpc tree, today's linux-next build (powerpc allyesconfig) produced this warning:
WARNING:
vmlinux.o(.text+0xa7cb8): Section mismatch in reference from the function .xive_spapr_init() to the function .init.text:.xive_core_init() The function .xive_spapr_init() references
the function__init.xive_core_init().
This is often because .xive_spapr_init lacks a__init
annotation or the annotation of .xive_core_init is wrong.
Quoted 4 lines
Introduced by commit
eac1e731b59e("powerpc/xive: guest exploitation of the XIVE interrupt controller")
yes. I just sent a patch for this :
http://patchwork.ozlabs.org/patch/809542/
Cheers,
C.