summaryrefslogtreecommitdiffstats
path: root/sys/compat
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
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')
-rw-r--r--sys/compat/linprocfs/linprocfs.c1
-rw-r--r--sys/compat/linux/linux_misc.c1
-rw-r--r--sys/compat/pecoff/imgact_pecoff.c1
-rw-r--r--sys/compat/svr4/svr4_misc.c4
4 files changed, 2 insertions, 5 deletions
diff --git a/sys/compat/linprocfs/linprocfs.c b/sys/compat/linprocfs/linprocfs.c
index ee14f2b..01b4c7c 100644
--- a/sys/compat/linprocfs/linprocfs.c
+++ b/sys/compat/linprocfs/linprocfs.c
@@ -73,7 +73,6 @@
#include <vm/vm_map.h>
#include <vm/vm_param.h>
#include <vm/vm_object.h>
-#include <vm/vm_zone.h>
#include <vm/swap_pager.h>
#include <machine/clock.h>
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c
index 68f99fb..b43c1d5 100644
--- a/sys/compat/linux/linux_misc.c
+++ b/sys/compat/linux/linux_misc.c
@@ -62,7 +62,6 @@
#include <vm/vm_map.h>
#include <vm/vm_extern.h>
#include <vm/vm_object.h>
-#include <vm/vm_zone.h>
#include <vm/swap_pager.h>
#include <machine/frame.h>
diff --git a/sys/compat/pecoff/imgact_pecoff.c b/sys/compat/pecoff/imgact_pecoff.c
index f3acb99..4656899 100644
--- a/sys/compat/pecoff/imgact_pecoff.c
+++ b/sys/compat/pecoff/imgact_pecoff.c
@@ -66,7 +66,6 @@
#include <vm/vm_map.h>
#include <vm/vm_object.h>
#include <vm/vm_extern.h>
-#include <vm/vm_zone.h>
#include <sys/user.h>
#include <sys/exec.h>
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