diff options
| author | Vladimir Murzin <[email protected]> | 2013-09-29 14:41:18 +0200 |
|---|---|---|
| committer | Benjamin Herrenschmidt <[email protected]> | 2013-10-11 16:49:26 +1100 |
| commit | 8616dff5b0e969444cc8484875ebd936956b5c0d (patch) | |
| tree | bc4dded3fc3108cdde0718ed7489372cefd2ec37 /tools/perf/scripts/python | |
| parent | 0edfdd10f57bd989f7c2bc31ce6f601bbee1b664 (diff) | |
powerpc: Fix section mismatch warning in free_lppacas
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.
Signed-off-by: Vladimir Murzin <[email protected]>
Acked-by: Michael Ellerman <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions