summaryrefslogtreecommitdiffstats
path: root/sys/ia64/include/mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ia64/include/mutex.h')
-rw-r--r--sys/ia64/include/mutex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ia64/include/mutex.h b/sys/ia64/include/mutex.h
index f32bacd..2e7916c 100644
--- a/sys/ia64/include/mutex.h
+++ b/sys/ia64/include/mutex.h
@@ -38,7 +38,7 @@
#ifdef _KERNEL
-#define mtx_intr_enable(mutex) (mutex)->mtx_savecrit |= IA64_PSR_I
+#define mtx_intr_enable(mutex) do (mutex)->mtx_savecrit |= IA64_PSR_I; while (0)
#endif /* _KERNEL */
OpenPOWER on IntegriCloud