aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2009-02-13 06:31:39 -0800
committerBenjamin Herrenschmidt <[email protected]>2009-02-23 10:48:55 +1100
commitb54dcfe108b1b72c9d891dce1034aa5679c0d7db (patch)
tree6f0d272d80f7859b308e13b102a31e74ebeebde6 /scripts/objdiff
parent60ce8f7260d9ae4ff17548f5a275edfbc200187a (diff)
powerpc, ftrace: use unsigned int for instruction manipulation
The original port of ftrace to PowerPC kept a lot of the code used by x86. Some of this code was to handle x86's 5 byte instruction. This was handled by using character arrays to manipulate the code. PowerPC has a consistent 4 byte instruction. Using unsigned ints makes the code more efficient as well as more readable. By converting to use unsigned ints to represent instructions, I was able to remove the side effects that were needed for manipulating character strings. i.e. memcpy and memcmp Signed-off-by: Steven Rostedt <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions