Fix: ring buffer check deliver compile fix
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 25 Jan 2014 00:50:05 +0000 (19:50 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 25 Jan 2014 00:50:05 +0000 (19:50 -0500)
Cherry pick of commit:

  "Fix: eliminate timestamp overlap between packets"

Introduced a compile failure due to mismatch of argument number.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lib/ringbuffer/ring_buffer_frontend.c

index 5043105e465ffcac0633d930f8f91cb03b2272da..0029b70431e44d10ad625647ba92929e972d88c0 100644 (file)
@@ -1378,7 +1378,7 @@ void lib_ring_buffer_switch_new_end(struct lib_ring_buffer *buf,
        v_add(config, padding_size, &buf->commit_hot[endidx].cc);
        commit_count = v_read(config, &buf->commit_hot[endidx].cc);
        lib_ring_buffer_check_deliver(config, buf, chan, offsets->end - 1,
-                                 commit_count, endidx);
+                                 commit_count, endidx, tsc);
        lib_ring_buffer_write_commit_counter(config, buf, chan, endidx,
                                             offsets->end, commit_count,
                                             padding_size);
This page took 0.026249 seconds and 4 git commands to generate.