summaryrefslogtreecommitdiffstats
path: root/sys/arch/sgi/include/mutex.h
diff options
context:
space:
mode:
authorsyuu <syuu@openbsd.org>2009-11-04 02:26:24 +0000
committersyuu <syuu@openbsd.org>2009-11-04 02:26:24 +0000
commitb4cbb18e2b69b227dd6cf97cb1bcac7d043c856f (patch)
treef0f77741f3e1de93ac6807216f96aa289828ea92 /sys/arch/sgi/include/mutex.h
parentdocument the new -t set mode of makemap, and add a paragraph describing (diff)
downloadwireguard-openbsd-b4cbb18e2b69b227dd6cf97cb1bcac7d043c856f.tar.xz
wireguard-openbsd-b4cbb18e2b69b227dd6cf97cb1bcac7d043c856f.zip
MP safe mutex.
ok miod@
Diffstat (limited to 'sys/arch/sgi/include/mutex.h')
-rw-r--r--sys/arch/sgi/include/mutex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sgi/include/mutex.h b/sys/arch/sgi/include/mutex.h
index df505d80ba8..1d84c23882d 100644
--- a/sys/arch/sgi/include/mutex.h
+++ b/sys/arch/sgi/include/mutex.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mutex.h,v 1.4 2009/10/22 22:08:54 miod Exp $ */
+/* $OpenBSD: mutex.h,v 1.5 2009/11/04 02:26:24 syuu Exp $ */
/*
* Copyright (c) 2004 Artur Grabowski <art@openbsd.org>
@@ -35,6 +35,7 @@ struct mutex {
int mtx_lock;
int mtx_wantipl;
int mtx_oldipl;
+ void *mtx_owner;
};
void mtx_init(struct mutex *, int);