ring-buffer: make moving the tail page a separate function
authorSteven Rostedt <srostedt@redhat.com>
Wed, 6 May 2009 19:30:07 +0000 (15:30 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 6 May 2009 19:30:07 +0000 (15:30 -0400)
commit6634ff26cce2da04e5c2a5481bcb8888e7d01786
tree64efca734e6cb10ff7cb19086e8f83b92eb40fd1
parent00c81a58c5b4e0de14ee33bfbc3d71c90f69f9ea
ring-buffer: make moving the tail page a separate function

Ingo Molnar thought the code would be cleaner if we used a function call
instead of a goto for moving the tail page. After implementing this,
it seems that gcc still inlines the result and the output is pretty much
the same. Since this is considered a cleaner approach, might as well
implement it.

[ Impact: code clean up ]

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ring_buffer.c