diff options
author | Steven Rostedt <srostedt@redhat.com> | 2010-10-20 10:58:02 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2010-10-20 10:58:02 -0400 |
commit | e8bc43e84fada397af1b677b07dbf26e6ac78fcc (patch) | |
tree | 60f6fe1acbd15fcd9fdc051660479f300c164ab6 /kernel/posix-cpu-timers.c | |
parent | 747e94ae3d1b4c9bf5380e569f614eb9040b79e7 (diff) |
ring-buffer: Pass timestamp by value and not by reference
The original code for the ring buffer had locations that modified
the timestamp and that change was used by the callers. Now,
the timestamp is not reused by the callers and there is no reason
to pass it by reference.
By changing the call to pass by value, lets gcc optimize the code
a bit more where it can store the timestamp in a register and not
worry about updating the reference.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/posix-cpu-timers.c')
0 files changed, 0 insertions, 0 deletions