Add vmem_ interface mapping for user space

This commit is contained in:
Brian Behlendorf 2008-12-18 09:34:27 -08:00
parent 9cafa3bbd0
commit 0a6ac25d10
1 changed files with 3 additions and 0 deletions

View File

@ -290,6 +290,9 @@ extern void kstat_delete(kstat_t *);
#define kmem_alloc(_s, _f) umem_alloc(_s, _f)
#define kmem_zalloc(_s, _f) umem_zalloc(_s, _f)
#define kmem_free(_b, _s) umem_free(_b, _s)
#define vmem_alloc(_s, _f) kmem_alloc(_s, _f)
#define vmem_zalloc(_s, _f) kmem_zalloc(_s, _f)
#define vmem_free(_b, _s) kmem_free(_b, _s)
#define kmem_cache_create(_a, _b, _c, _d, _e, _f, _g, _h, _i) \
umem_cache_create(_a, _b, _c, _d, _e, _f, _g, _h, _i)
#define kmem_cache_destroy(_c) umem_cache_destroy(_c)