linux-next: build warning after merge of the powerpc tree
From: Stephen Rothwell
Date: Wed May 18 2011 - 23:21:44 EST
Hi all,
After merging the powerpc tree, today's linux-next build (powerpc
allyesconfig) produced this warning:
WARNING: arch/powerpc/sysdev/built-in.o(.text+0x10eb8): Section mismatch in reference from the function .ics_rtas_init() to the function .init.text:.xics_register_ics()
The function .ics_rtas_init() references
the function __init .xics_register_ics().
This is often because .ics_rtas_init lacks a __init
annotation or the annotation of .xics_register_ics is wrong.
Introduced by commit 0b05ac6e2480 ("powerpc/xics: Rewrite XICS driver").
ics_rtas_init() is only called from xics_init() which is marked __init,
so ics_rtas_init() should be as well.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/
Attachment:
pgp00000.pgp
Description: PGP signature