]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: ftrace_caller, _mcount is exported to modules so needs _GLOBAL_TOC()
authorAnton Blanchard <anton@samba.org>
Thu, 3 Apr 2014 22:06:33 +0000 (09:06 +1100)
committerAnton Blanchard <anton@samba.org>
Wed, 23 Apr 2014 00:05:33 +0000 (10:05 +1000)
commit5a033dfc174af97f91d465108c72d4cb561dfcb8
tree08d556a7203fdcb04eb6ce5373703fb846b147e0
parent64a3e7e9a74e812c0e17f601dc0ecba284dc17a9
powerpc: ftrace_caller, _mcount is exported to modules so needs _GLOBAL_TOC()

When testing the ftrace function tracer, I realised that ftrace_caller
and mcount are called from modules and they both call into C, therefore
they need the ABIv2 global entry point to establish r2.

Signed-off-by: Anton Blanchard <anton@samba.org>
arch/powerpc/kernel/entry_64.S