From: Anton Blanchard Date: Thu, 3 Apr 2014 22:06:33 +0000 (+1100) Subject: powerpc: ftrace_caller, _mcount is exported to modules so needs _GLOBAL_TOC() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~60^2~40^2~7 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e66684fe4c71e4d62d6a5d313057185ac0890cc;p=pandora-kernel.git 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 --- Reading git-diff-tree failed