Module: xenomai-head
Branch: master
Commit: 5a29ba38d7563097b73f53615fb3fcb7a7e5a6a5
URL:    
http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=5a29ba38d7563097b73f53615fb3fcb7a7e5a6a5

Author: Philippe Gerum <r...@xenomai.org>
Date:   Tue Nov 24 14:40:39 2009 +0100

nucleus: initialize heap->stat_link holder

---

 ksrc/nucleus/heap.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ksrc/nucleus/heap.c b/ksrc/nucleus/heap.c
index 8e82c9a..e5dfef0 100644
--- a/ksrc/nucleus/heap.c
+++ b/ksrc/nucleus/heap.c
@@ -227,6 +227,7 @@ int xnheap_init(xnheap_t *heap,
        for (cpu = 0; cpu < nr_cpus; cpu++)
                heap->idleq[cpu] = NULL;
        inith(&heap->link);
+       inith(&heap->stat_link);
        initq(&heap->extents);
        xnlock_init(&heap->lock);
        xnarch_init_heapcb(&heap->archdep);


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to