summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/include/mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sgi/include/mutex.h')
-rw-r--r--sys/arch/sgi/include/mutex.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sgi/include/mutex.h b/sys/arch/sgi/include/mutex.h
index 2c5d340d309..f3b0bd61b84 100644
--- a/sys/arch/sgi/include/mutex.h
+++ b/sys/arch/sgi/include/mutex.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mutex.h,v 1.1 2007/05/01 18:59:40 miod Exp $ */
+/* $OpenBSD: mutex.h,v 1.2 2007/05/05 12:06:20 miod Exp $ */
/*
* Copyright (c) 2004 Artur Grabowski <art@openbsd.org>
@@ -56,4 +56,6 @@ void mtx_init(struct mutex *, int);
#define MUTEX_ASSERT_UNLOCKED(mtx) do { } while (0)
#endif
+#define MUTEX_OLDIPL(mtx) (mtx)->mtx_oldcpl
+
#endif