aboutsummaryrefslogtreecommitdiff
path: root/sys/vm
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2005-08-04 10:03:53 +0000
committerRobert Watson <rwatson@FreeBSD.org>2005-08-04 10:03:53 +0000
commitaf17e9a922443266efdc8b93d81b92de31f7b5cf (patch)
treef4122b90baafe6d264bc720696aab6011422949e /sys/vm
parent39f1497151f75211d3f1391c446325fb77553a46 (diff)
Notes
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/uma_int.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/vm/uma_int.h b/sys/vm/uma_int.h
index 5c57c71d7c716..6e8620662f26a 100644
--- a/sys/vm/uma_int.h
+++ b/sys/vm/uma_int.h
@@ -323,6 +323,7 @@ struct uma_zone {
#define UMA_ZFLAG_FULL 0x40000000 /* Reached uz_maxpages */
#define UMA_ZFLAG_CACHEONLY 0x80000000 /* Don't ask VM for buckets. */
+#ifdef _KERNEL
/* Internal prototypes */
static __inline uma_slab_t hash_sfind(struct uma_hash *hash, u_int8_t *data);
void *uma_large_malloc(int size, int wait);
@@ -412,5 +413,6 @@ vsetobj(vm_offset_t va, vm_object_t obj)
*/
void *uma_small_alloc(uma_zone_t zone, int bytes, u_int8_t *pflag, int wait);
void uma_small_free(void *mem, int size, u_int8_t flags);
+#endif /* _KERNEL */
#endif /* VM_UMA_INT_H */