summaryrefslogtreecommitdiff
path: root/kern/mutex.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/mutex.c')
-rw-r--r--kern/mutex.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kern/mutex.c b/kern/mutex.c
index 1a1c2ea7..6a1af208 100644
--- a/kern/mutex.c
+++ b/kern/mutex.c
@@ -15,6 +15,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef X15_MUTEX_PI
+
#include <stddef.h>
#include <kern/mutex.h>
@@ -62,3 +64,5 @@ mutex_unlock_slow(struct mutex *mutex)
sleepq_release(sleepq);
}
+
+#endif /* X15_MUTEX_PI */