From: Mathieu Desnoyers Date: Mon, 27 Jun 2011 18:22:34 +0000 (-0400) Subject: lib prio heap: add missing gfpmask X-Git-Tag: v2.0-pre1~29 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ff77b142d4aaab6b732df399231f6891bc706551;p=lttng-modules.git lib prio heap: add missing gfpmask Signed-off-by: Mathieu Desnoyers --- diff --git a/lib/prio_heap/lttng_prio_heap.c b/lib/prio_heap/lttng_prio_heap.c index 5bbd0793..2fce143c 100644 --- a/lib/prio_heap/lttng_prio_heap.c +++ b/lib/prio_heap/lttng_prio_heap.c @@ -91,6 +91,7 @@ int lttng_heap_init(struct lttng_ptr_heap *heap, size_t alloc_len, heap->len = 0; heap->alloc_len = 0; heap->gt = gt; + heap->gfpmask = gfpmask; /* * Minimum size allocated is 1 entry to ensure memory allocation * never fails within heap_replace_max.