prio heap API change (size of element)
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 23 May 2011 16:13:08 +0000 (12:13 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 23 May 2011 16:13:08 +0000 (12:13 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
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.02633 seconds and 4 git commands to generate.