powerpc: Add a prototype for mcount() so it can be versioned

Michael Ellerman patch-notifications at ellerman.id.au
Tue Feb 14 23:40:29 AEDT 2017


On Fri, 2017-02-10 at 02:40:02 UTC, Michael Ellerman wrote:
> Currently we get a warning that _mcount() can't be versioned:
> 
>   WARNING: EXPORT symbol "_mcount" [vmlinux] version generation failed, symbol will not be versioned.
> 
> Add a prototype to asm-prototypes.h to fix it.
> 
> The prototype is not really correct, mcount() is not a normal function,
> it has a special ABI. But for the purpose of versioning it doesn't
> matter.
> 
> Signed-off-by: Michael Ellerman <mpe at ellerman.id.au>

Applied to powerpc next.

https://git.kernel.org/powerpc/c/99ad503287daf78e19e64e0e51f1d6

cheers


More information about the Linuxppc-dev mailing list