summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-11-12 20:27:47 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-11-12 20:27:47 +0000
commit42b5053d40906497c03681c6c1d414f1f1bd836a (patch)
treee4d3729096ec7d518e9b7881e7abf3644fa9488c
parent224808980abdc1ebaf8792c3853aedb098f0870a (diff)
splimp -> splvm in MBUFLOCK() macro.
ok markus@
-rw-r--r--sys/sys/mbuf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h
index 63ab629aeea..c9ad117008e 100644
--- a/sys/sys/mbuf.h
+++ b/sys/sys/mbuf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbuf.h,v 1.84 2005/11/03 20:00:18 reyk Exp $ */
+/* $OpenBSD: mbuf.h,v 1.85 2005/11/12 20:27:46 brad Exp $ */
/* $NetBSD: mbuf.h,v 1.19 1996/02/09 18:25:14 christos Exp $ */
/*
@@ -182,7 +182,7 @@ struct mbuf {
* drivers.
*/
#define MBUFLOCK(code) do {\
- int ms = splimp(); \
+ int ms = splvm(); \
{ code } \
splx(ms); \
} while(/* CONSTCOND */ 0)