Use `struct uma_zone *' instead of uma_zone_t, so that <sys/uma.h> isn't

a prerequisite.
This commit is contained in:
Bruce Evans 2002-09-05 14:04:34 +00:00
parent a1212c2a4e
commit 6af7f1e511
2 changed files with 2 additions and 2 deletions

View file

@ -122,7 +122,7 @@ MALLOC_DECLARE(M_NFSBIGFH);
MALLOC_DECLARE(M_NFSHASH);
#endif
extern uma_zone_t nfsmount_zone;
extern struct uma_zone *nfsmount_zone;
extern struct callout_handle nfs_timer_handle;
extern struct nfsstats nfsstats;

View file

@ -82,7 +82,7 @@ struct swblock {
extern struct pagerlst swap_pager_un_object_list;
extern int swap_pager_full;
extern struct blist *swapblist;
extern uma_zone_t swap_zone;
extern struct uma_zone *swap_zone;
void swap_pager_putpages(vm_object_t, vm_page_t *, int, boolean_t, int *);
boolean_t swap_pager_haspage(vm_object_t object, vm_pindex_t pindex, int *before, int *after);