linux-next: build warnings after merge of the final tree (tip treee related)
Stephen Rothwell
sfr at canb.auug.org.au
Wed Sep 15 15:00:47 EST 2010
Hi Yinghai,
On Tue, 14 Sep 2010 16:00:06 -0700 Yinghai Lu <yinghai at kernel.org> 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 at canb.auug.org.au>
> Signed-off-by: Yinghai Lu <Yinghai at kernel.org>
This version fixes all the warnings for me. So if you put the "extern"s
back, you can add:
Tested-by: Stephen Rothwell <sfr at canb.auug.org.au>
--
Cheers,
Stephen Rothwell sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20100915/f3515ed2/attachment.pgp>
More information about the Linuxppc-dev
mailing list