]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
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)
commitd9af12b72bfe2a4efc1d347e0ac1c669b85dcea9
tree19e7d7ccc0c96d3bc29468bca03d8a98762d44c1
parentc7b0d17366d6e04a11470fc8d85f9fbac02671b9
powerpc: ftrace, fix cast aliasing and add code verification

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>
arch/powerpc/kernel/ftrace.c