commit | 6634ff26cce2da04e5c2a5481bcb8888e7d01786 | [log] [tgz] |
---|---|---|
author | Steven Rostedt <srostedt@redhat.com> | Wed May 06 15:30:07 2009 -0400 |
committer | Steven Rostedt <rostedt@goodmis.org> | Wed May 06 15:30:07 2009 -0400 |
tree | 64efca734e6cb10ff7cb19086e8f83b92eb40fd1 | |
parent | 00c81a58c5b4e0de14ee33bfbc3d71c90f69f9ea [diff] |
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>