summaryrefslogtreecommitdiffstats
path: root/src/lib/syscall_mmio.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/lib/syscall_mmio.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/lib/syscall_mmio.C')
-rw-r--r--src/lib/syscall_mmio.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/syscall_mmio.C b/src/lib/syscall_mmio.C
index 83498798b..91e4e113b 100644
--- a/src/lib/syscall_mmio.C
+++ b/src/lib/syscall_mmio.C
@@ -26,7 +26,7 @@ int mmio_hmer_write(uint64_t value)
return (int)(int64_t)_syscall1(MMIO_HMER_WRITE, (void*)value);
}
-mutex_t mmio_xscom_mutex()
+mutex_t * mmio_xscom_mutex()
{
// Get task structure.
register task_t* task;
@@ -36,7 +36,7 @@ mutex_t mmio_xscom_mutex()
assert(task->affinity_pinned);
// Get mutex from cpu structure.
- mutex_t mutex = task->cpu->xscom_mutex;
+ mutex_t * mutex = task->cpu->xscom_mutex;
// Create mutex if not created.
if (NULL == mutex)
OpenPOWER on IntegriCloud