Messages in this thread | | | Date | Thu, 19 May 2011 13:19:13 +1000 | From | Stephen Rothwell <> | Subject | 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: 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@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ [unhandled content-type:application/pgp-signature] | |