summaryrefslogtreecommitdiffstats
path: root/src/usr/example/example.C
diff options
context:
space:
mode:
authordgilbert <dgilbert@us.ibm.com>2011-06-03 12:54:41 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2011-06-17 12:23:52 -0500
commit609d6810b8bc92dc979f8bbb8e7e7d7b7b5d9490 (patch)
treecd517ec2e10a95638e675b037bb24e2d01296ef4 /src/usr/example/example.C
parentf64ba52098e248e62b4ddb14c0a027c21066e9e2 (diff)
downloadtalos-hostboot-609d6810b8bc92dc979f8bbb8e7e7d7b7b5d9490.tar.gz
talos-hostboot-609d6810b8bc92dc979f8bbb8e7e7d7b7b5d9490.zip
Initial futex support
Change-Id: I51a4f1117085ce23c7993c1a38e4124596636726 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/141 Tested-by: Jenkins Server Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/example/example.C')
-rw-r--r--src/usr/example/example.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/example/example.C b/src/usr/example/example.C
index 536100368..632eb6882 100644
--- a/src/usr/example/example.C
+++ b/src/usr/example/example.C
@@ -1,5 +1,5 @@
#include <kernel/console.H>
-#include <sys/mutex.h>
+#include <sys/sync.h>
#include <sys/vfs.h>
#include <sys/task.h>
#include <trace/interface.H>
@@ -7,7 +7,7 @@
#include <example/examplerc.H>
#include <errl/errlentry.H>
-//static mutex_t value = mutex_create();
+//static mutex_t value = MUTEX_INITIALIZER;
trace_desc_t *g_trac_test = NULL;
TRAC_INIT(&g_trac_test, "EXAMPLE", 4096);
OpenPOWER on IntegriCloud