powerpc/ppc64: ftrace, handle module trampolines for dyn ftrace
authorSteven Rostedt <srostedt@redhat.com>
Sat, 15 Nov 2008 04:47:03 +0000 (20:47 -0800)
committerSteven Rostedt <srostedt@redhat.com>
Thu, 20 Nov 2008 18:52:28 +0000 (10:52 -0800)
Impact: Allow 64 bit PowerPC to trace modules with dynamic ftrace

This adds code to handle the PPC64 module trampolines, and allows for
PPC64 to use dynamic ftrace.

Thanks to Paul Mackerras for these updates:

  - fix the mod and rec->arch.mod NULL checks.
  - fix to is_bl_op compare.

Thanks to Milton Miller for:

  - finding the nasty race with using two nops, and recommending
    instead that I use a branch 8 forward.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>

No differences found