summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-05-05 12:06:21 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-05-05 12:06:21 +0000
commite5fea0cce4df41f7cd12b6bc013a75712e7f3ade (patch)
treed32817d43b8a2f36da9444799ec66ad26c086908 /sys/arch/powerpc
parentb5b2d558aea0851d214d1a05e1fdb6d96ce526cb (diff)
Define MUTEX_OLDIPL where they were missing, will be used (reasonably) shortly.
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r--sys/arch/powerpc/include/mutex.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/powerpc/include/mutex.h b/sys/arch/powerpc/include/mutex.h
index 5c7b60e9764..7c5d36262e6 100644
--- a/sys/arch/powerpc/include/mutex.h
+++ b/sys/arch/powerpc/include/mutex.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mutex.h,v 1.1 2007/03/22 19:26:28 kettenis Exp $ */
+/* $OpenBSD: mutex.h,v 1.2 2007/05/05 12:06:19 miod Exp $ */
/*
* Copyright (c) 2004 Artur Grabowski <art@openbsd.org>
@@ -45,8 +45,6 @@ struct mutex {
panic("mutex %p held in %s", (mtx), __func__); \
} while (0)
-#if 0
-#define MUTEX_OLDIPL(mtx) (mtx)->mtx_oldipl
-#endif
+#define MUTEX_OLDIPL(mtx) (mtx)->mtx_oldcpl
#endif