Thread (2 messages) flat view 2 messages, 2 authors, 2013-10-01

Re: [PATCH] powerpc: fix section mismatch warning in free_lppacas

From: Michael Ellerman <hidden>
Date: 2013-10-01 06:18:19

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 <redacted>

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help