summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-05-18 23:29:34 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-05-18 23:29:34 +0000
commit99bb64031e92228cd3c9f319a66e500f59422873 (patch)
tree366c7064e14d5f2df5cf1cd11ce290aeee4be69f /sys
parentd26485a6b9d584f568dd1f373ab5ad30bc028891 (diff)
Use pool_page_alloc_nointr() and pool_page_free_nointr() since they
are exported wheras pool_page_alloc() and pool_page_free() are static. In the non-UVM case these just call pool_page_alloc() and pool_page_free() anyway.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/uipc_mbuf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
index 25e7854c879..c7d6cc12329 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_mbuf.c,v 1.29 2001/05/17 18:41:44 provos Exp $ */
+/* $OpenBSD: uipc_mbuf.c,v 1.30 2001/05/18 23:29:33 millert Exp $ */
/* $NetBSD: uipc_mbuf.c,v 1.15.4.1 1996/06/13 17:11:44 cgd Exp $ */
/*
@@ -123,7 +123,7 @@ mclpool_alloc(sz, flags, mtype)
return ((void *)uvm_km_alloc_poolpage1(mb_map, uvmexp.mb_object,
waitok));
#else
- return pool_page_alloc(sz, flags, mtype);
+ return pool_page_alloc_nointr(sz, flags, mtype);
#endif
}
@@ -136,7 +136,7 @@ mclpool_release(v, sz, mtype)
#if defined(UVM)
uvm_km_free_poolpage1(mb_map, (vaddr_t)v);
#else
- pool_page_free(v, sz, mtype);
+ pool_page_free_nointr(v, sz, mtype);
#endif
}