From: Steven Rostedt Date: Wed, 20 Oct 2010 16:40:12 +0000 (-0400) Subject: ring-buffer: Pass delta by value and not by reference X-Git-Tag: v2.6.37-rc1~83^2~1^2~5 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f25106aeab7408394b9dd707e5ecf557e269c723;p=pandora-kernel.git 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 --- Reading git-diff-tree failed