summaryrefslogtreecommitdiffstats
path: root/sys/netatm/atm_var.h
diff options
context:
space:
mode:
authorarr <arr@FreeBSD.org>2002-04-24 18:06:18 +0000
committerarr <arr@FreeBSD.org>2002-04-24 18:06:18 +0000
commit35e5b8d0ded86e3e6e3110408146a376d4717ec1 (patch)
tree11ccdf99c5d64e678a1c24105661ce23a0e1df1c /sys/netatm/atm_var.h
parentcb31a822f6f1f927a6992127a595e7eb9727a99e (diff)
downloadFreeBSD-src-35e5b8d0ded86e3e6e3110408146a376d4717ec1.zip
FreeBSD-src-35e5b8d0ded86e3e6e3110408146a376d4717ec1.tar.gz
- Remove atm_attributes_pool and the relating atm_allocate() and atm_free()
calls associated with the pool and the objects allocated out from the pool. - Insert atm_attributes_zone which is a uma_zone that is used just as the atm_attributes_pool was (including the max objects value). Also, used the appropriate zalloc and zfree's where necesary.
Diffstat (limited to 'sys/netatm/atm_var.h')
-rw-r--r--sys/netatm/atm_var.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netatm/atm_var.h b/sys/netatm/atm_var.h
index bacee49..eb7ee35 100644
--- a/sys/netatm/atm_var.h
+++ b/sys/netatm/atm_var.h
@@ -40,6 +40,9 @@
#ifdef _KERNEL
+
+#include <vm/uma.h>
+
/*
* Global variable declarations
*/
@@ -63,7 +66,7 @@ extern int atm_debug;
extern struct timeval atm_debugtime;
extern int atm_dev_print;
extern int atm_print_data;
-extern struct sp_info atm_attributes_pool;
+extern uma_zone_t atm_attributes_zone;
extern struct pr_usrreqs atm_dgram_usrreqs;
OpenPOWER on IntegriCloud