summaryrefslogtreecommitdiffstats
path: root/src/runtime/rt_sync.C
diff options
context:
space:
mode:
authorMatt Raybuck <mraybuc@us.ibm.com>2018-10-24 07:59:26 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-11-12 09:07:12 -0600
commit2e77a7fb14331b3d734aad3d500732dd51dcb32e (patch)
tree9fad75729721906f9001d86f0d479bb0052fd6e6 /src/runtime/rt_sync.C
parent87adeec286402eb648f14d274382fb8b84351467 (diff)
downloadtalos-hostboot-2e77a7fb14331b3d734aad3d500732dd51dcb32e.tar.gz
talos-hostboot-2e77a7fb14331b3d734aad3d500732dd51dcb32e.zip
Attribute support for recursive mutexes
Added a new recursive mutex attribute, new test cases, and initializers for recursive mutex attributes. Change-Id: I49e6bc4fc2fd84e5c46e5d4c5ec125270347bde5 RTC: 196793 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67939 Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Ilya Smirnov <ismirno@us.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/runtime/rt_sync.C')
-rw-r--r--src/runtime/rt_sync.C8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/runtime/rt_sync.C b/src/runtime/rt_sync.C
index 86d1b426b..0b7cc027e 100644
--- a/src/runtime/rt_sync.C
+++ b/src/runtime/rt_sync.C
@@ -5,7 +5,9 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2013,2014 */
+/* Contributors Listed Below - COPYRIGHT 2013,2018 */
+/* [+] International Business Machines Corp. */
+/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
@@ -22,6 +24,10 @@
/* IBM_PROLOG_END_TAG */
#include <sys/sync.h>
+void recursive_mutex_init(mutex_t*) {};
+void recursive_mutex_destroy(mutex_t*) {};
+void recursive_mutex_lock(mutex_t*) {};
+void recursive_mutex_unlock(mutex_t*) {};
void mutex_init(mutex_t*) {};
void mutex_destroy(mutex_t*) {};
void mutex_lock(mutex_t*) {};
OpenPOWER on IntegriCloud