diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2009-02-07 20:22:40 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-02-10 14:39:08 +1100 |
commit | f25f9074c24f1451a74942c4bc089bb53e47f462 (patch) | |
tree | 92835cb8121734b22eb36d3a870607d47818fbe8 /arch/h8300 | |
parent | eef336189b2b5ae68bfbef0df24176a4a152d981 (diff) |
powerpc/ftrace: Fix math to calculate offset in TOC
Impact: fix dynamic ftrace with large modules in PPC64
The math to calculate the offset into the TOC that is taken from reading
the trampoline is incorrect. The bottom half of the offset is a signed
extended short. The current code was using an OR to create the offset
when it should have been using an addition.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Acked-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/h8300')
0 files changed, 0 insertions, 0 deletions