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