diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-02-13 06:31:39 -0800 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-02-23 10:48:55 +1100 |
commit | b54dcfe108b1b72c9d891dce1034aa5679c0d7db (patch) | |
tree | 6f0d272d80f7859b308e13b102a31e74ebeebde6 /include/Kbuild | |
parent | 60ce8f7260d9ae4ff17548f5a275edfbc200187a (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 <srostedt@redhat.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/Kbuild')
0 files changed, 0 insertions, 0 deletions