Add MCS qnode static initializer, assumed by Lithe
authorAndrew Waterman <waterman@cs.berkeley.edu>
Tue, 8 Jan 2013 20:01:01 +0000 (12:01 -0800)
committerAndrew Waterman <waterman@cs.berkeley.edu>
Tue, 8 Jan 2013 20:01:01 +0000 (12:01 -0800)
user/parlib/include/mcs.h

index 57d332d..e581333 100644 (file)
@@ -9,6 +9,7 @@ extern "C" {
 #include <arch/arch.h>
 
 #define MCS_LOCK_INIT {0}
+#define MCS_QNODE_INIT {0, 0}
 
 typedef struct mcs_lock_qnode
 {