powerpc: ftrace, fix cast aliasing and add code verification
authorSteven Rostedt <srostedt@redhat.com>
Tue, 25 Nov 2008 14:39:18 +0000 (06:39 -0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 28 Nov 2008 13:07:50 +0000 (14:07 +0100)
Impact: clean up and robustness addition

This patch addresses the comments made by Paul Mackerras.
It removes the type casting between unsigned int and unsigned char
pointers, and replaces them with a use of all unsigned int.

Verification that the jump is indeed made to a trampoline has also
been added.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found