From: Anton Blanchard Date: Fri, 4 Apr 2014 05:54:04 +0000 (+1100) Subject: powerpc/ftrace: Fix ABIv2 issues with __ftrace_make_call X-Git-Tag: omap-for-v3.16/fixes-against-rc1~60^2~40^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24a1bdc358bf3c533f7d575202e92aaca0f91761;p=pandora-kernel.git powerpc/ftrace: Fix ABIv2 issues with __ftrace_make_call __ftrace_make_call assumed ABIv1 TOC stack offsets, so it broke on ABIv2. While we are here, we can simplify the instruction modification code. Since we always update one instruction there is no need to probe_kernel_write and flush_icache_range, just use patch_branch. Signed-off-by: Anton Blanchard --- Reading git-diff-tree failed