summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2007-05-10 18:08:14 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2007-05-10 18:08:14 +0000
commitfe55bee023906d2b0e11cca7424bc5e3079819e1 (patch)
tree770f383fb89dd9bff4ce9ce239ff2fc688ee1208 /sys
parente5cb4909c73ef78071aaa5ea48ac20d7e031f316 (diff)
Alpha needs (will need) MUTEX_OLDIPL as well.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/alpha/include/mutex.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/alpha/include/mutex.h b/sys/arch/alpha/include/mutex.h
index 5740ee0fab8..e7678d169c1 100644
--- a/sys/arch/alpha/include/mutex.h
+++ b/sys/arch/alpha/include/mutex.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mutex.h,v 1.1 2007/05/05 21:05:43 martin Exp $ */
+/* $OpenBSD: mutex.h,v 1.2 2007/05/10 18:08:13 art 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_oldipl
+
#endif /* _ALPHA_MUTEX_H_ */