Hi Yinghai, On Tue, 14 Sep 2010 16:00:06 -0700 Yinghai Lu <yinghai@xxxxxxxxxx> wrote: > > Also, we may need to remove all extern and __init and __initdata etc in .h files. > > please check > > [PATCH -v3] memblock: Fix section mismatch warning > > Use __init_memblock to replace __init, and remove __init in memblock.h > > -v2: more with memblock_is_meory() > -v3: remove __init for function declaring in memblock.h. Pointed out by Stephen. > > Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> > Signed-off-by: Yinghai Lu <Yinghai@xxxxxxxxxx> This version fixes all the warnings for me. So if you put the "extern"s back, you can add: Tested-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> -- Cheers, Stephen Rothwell sfr@xxxxxxxxxxxxxxxx http://www.canb.auug.org.au/~sfr/
Attachment:
pgpNW2ZFd08Ua.pgp
Description: PGP signature