]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/trace/ring_buffer.c
Merge branch 'topic/fix/hda' into for-linus
[linux-2.6-omap-h63xx.git] / kernel / trace / ring_buffer.c
index 3f338063864628a3ae42f0269018388062132a1a..2f76193c34894e094f6374d725fd8477c4b0af72 100644 (file)
@@ -1060,7 +1060,7 @@ rb_reserve_next_event(struct ring_buffer_per_cpu *cpu_buffer,
 
                /* Did the write stamp get updated already? */
                if (unlikely(ts < cpu_buffer->write_stamp))
-                       goto again;
+                       delta = 0;
 
                if (test_time_stamp(delta)) {