diff options
author | phk <phk@FreeBSD.org> | 2001-06-02 08:17:42 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2001-06-02 08:17:42 +0000 |
commit | b2f9beade9dad8ca12e55d9d2f37b7e838812db3 (patch) | |
tree | 0e6ec93b4da265a45250a8031ef80c2921d80b57 /sys/ia64 | |
parent | c060eab5cbb051c0ef128799a33b80b93038d708 (diff) | |
download | FreeBSD-src-b2f9beade9dad8ca12e55d9d2f37b7e838812db3.zip FreeBSD-src-b2f9beade9dad8ca12e55d9d2f37b7e838812db3.tar.gz |
Properly wrap mtx_intr_enable() macro in "do $bla while (0)"
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/include/mutex.h | 2 |
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 */ |