Skip to content
Snippets Groups Projects
Commit 24a1bdc3 authored by Anton Blanchard's avatar Anton Blanchard
Browse files

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: default avatarAnton Blanchard <anton@samba.org>
parent 62c9da6a
No related branches found
No related tags found
No related merge requests found
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