[PATCH] powerpc: fix section mismatch warning in free_lppacas
Michael Ellerman
michael at ellerman.id.au
Tue Oct 1 16:18:19 EST 2013
On Sun, Sep 29, 2013 at 02:41:18PM +0200, Vladimir Murzin wrote:
> While cross-building for PPC64 I've got bunch of
>
> WARNING: arch/powerpc/kernel/built-in.o(.text.unlikely+0x2d2): Section
> mismatch in reference from the function .free_lppacas() to the variable
> .init.data:lppaca_size The function .free_lppacas() references the variable
> __initdata lppaca_size. This is often because .free_lppacas lacks a __initdata
> annotation or the annotation of lppaca_size is wrong.
>
> Fix it by using proper annotation for free_lppacas. Additionally, annotate
> {allocate,new}_llpcas properly.
Yep looks good.
Acked-by: Michael Ellerman <michael at ellerman.id.au>
cheers
More information about the Linuxppc-dev
mailing list