summaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2010-10-20 12:40:12 -0400
committerSteven Rostedt <rostedt@goodmis.org>2010-10-20 12:40:12 -0400
commitf25106aeab7408394b9dd707e5ecf557e269c723 (patch)
tree58013e1e5eb776a921cbc8f3ef86267472fea8be /kernel/sysctl.c
parente8bc43e84fada397af1b677b07dbf26e6ac78fcc (diff)
downloadlinux-f25106aeab7408394b9dd707e5ecf557e269c723.tar.gz
linux-f25106aeab7408394b9dd707e5ecf557e269c723.tar.bz2
linux-f25106aeab7408394b9dd707e5ecf557e269c723.zip
ring-buffer: Pass delta by value and not by reference
The delta between events is passed to the timestamp code by reference and the timestamp code will reset the value. But it can be reset from the caller. No need to pass it in by reference. By changing the call to pass by value, lets gcc optimize the code a bit more where it can store the delta in a register and not worry about updating the reference. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions