prio heap API change (size of element)
[lttng-modules.git] / lib / ringbuffer / ring_buffer_iterator.c
index e8b042b025cd3ca0ff0e164de4699a1f31045991..ff9b8061e7b30bd34cfc87232274b74c4aac2e2e 100644 (file)
@@ -377,8 +377,7 @@ int channel_iterator_init(struct channel *chan)
 
                INIT_LIST_HEAD(&chan->iter.empty_head);
                ret = heap_init(&chan->iter.heap,
-                               num_possible_cpus()
-                               * sizeof(struct lib_ring_buffer *),
+                               num_possible_cpus(),
                                GFP_KERNEL, buf_is_higher);
                if (ret)
                        return ret;
This page took 0.022171 seconds and 4 git commands to generate.