Skip to content
Commit 99ad5032 authored by Michael Ellerman's avatar Michael Ellerman
Browse files

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



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: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent be9ba9ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment