summaryrefslogtreecommitdiffstats
path: root/sys/compat/svr4
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2002-03-20 10:35:22 +0000
committerjeff <jeff@FreeBSD.org>2002-03-20 10:35:22 +0000
commit453d388794d43ea15c2744894c8bcdc0b8c301eb (patch)
treeace7dbc0b6f1c811a17fd03e386b3baea612da92 /sys/compat/svr4
parentd7ea51307ac2d71ca660e3543a6d89543e2aee1b (diff)
downloadFreeBSD-src-453d388794d43ea15c2744894c8bcdc0b8c301eb.zip
FreeBSD-src-453d388794d43ea15c2744894c8bcdc0b8c301eb.tar.gz
Remove references to vm_zone.h and switch over to the new uma API.
Diffstat (limited to 'sys/compat/svr4')
-rw-r--r--sys/compat/svr4/svr4_misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/svr4/svr4_misc.c b/sys/compat/svr4/svr4_misc.c
index 14c7cba..33c679a 100644
--- a/sys/compat/svr4/svr4_misc.c
+++ b/sys/compat/svr4/svr4_misc.c
@@ -84,7 +84,7 @@
#include <vm/vm_param.h>
#include <vm/vm_map.h>
#if defined(__FreeBSD__)
-#include <vm/vm_zone.h>
+#include <vm/uma.h>
#endif
#if defined(NetBSD)
@@ -1368,7 +1368,7 @@ loop:
#endif
#ifdef __FreeBSD__
mtx_destroy(&q->p_mtx);
- zfree(proc_zone, q);
+ uma_zfree(proc_zone, q);
#endif
nprocs--;
return 0;
OpenPOWER on IntegriCloud