aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/ring_buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/ring_buffer.c')
-rw-r--r--kernel/trace/ring_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c
index 6781e9aab2c0..ee9b93d318b9 100644
--- a/kernel/trace/ring_buffer.c
+++ b/kernel/trace/ring_buffer.c
@@ -1065,7 +1065,7 @@ rb_reserve_next_event(struct ring_buffer_per_cpu *cpu_buffer,
1065 1065
1066 /* Did the write stamp get updated already? */ 1066 /* Did the write stamp get updated already? */
1067 if (unlikely(ts < cpu_buffer->write_stamp)) 1067 if (unlikely(ts < cpu_buffer->write_stamp))
1068 goto again; 1068 delta = 0;
1069 1069
1070 if (test_time_stamp(delta)) { 1070 if (test_time_stamp(delta)) {
1071 1071