From cd5a4c641636eff3bb3540fa78427278c2964ecd Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Sun, 1 Apr 2007 16:18:48 +0000 Subject: [PATCH] Save the ghost pointer once the element is initialized. This commit was SVN r14189. --- opal/class/opal_atomic_lifo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opal/class/opal_atomic_lifo.c b/opal/class/opal_atomic_lifo.c index 47b5ac5592..a2b37fbfe3 100644 --- a/opal/class/opal_atomic_lifo.c +++ b/opal/class/opal_atomic_lifo.c @@ -21,9 +21,9 @@ static void opal_atomic_lifo_construct( opal_atomic_lifo_t* lifo ) { - lifo->opal_lifo_head = &(lifo->opal_lifo_ghost); OBJ_CONSTRUCT( &(lifo->opal_lifo_ghost), opal_list_item_t ); lifo->opal_lifo_ghost.opal_list_next = &(lifo->opal_lifo_ghost); + lifo->opal_lifo_head = &(lifo->opal_lifo_ghost); } OBJ_CLASS_INSTANCE( opal_atomic_lifo_t,