]> git.baikalelectronics.ru Git - kernel.git/commit
ring-buffer: replace constants with time macros in ring-buffer-benchmark
authorSteven Rostedt <srostedt@redhat.com>
Fri, 8 May 2009 14:56:33 +0000 (10:56 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 11 May 2009 17:22:26 +0000 (13:22 -0400)
commit874bd55a716a92ae76e6956d4ecd2a73cef6a008
treef6c1a0c28cd9225778a4348aded45bae8b634126
parent69702f8b163f58800d6bd36fdd826bb24ce2f982
ring-buffer: replace constants with time macros in ring-buffer-benchmark

The use of numeric constants is discouraged. It is cleaner and more
descriptive to use macros for constant time conversions.

This patch also removes an extra new line.

[ Impact: more descriptive time conversions ]

Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ring_buffer_benchmark.c