diff options
-rw-r--r-- | sys/vm/_vm_radix.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/vm/_vm_radix.h b/sys/vm/_vm_radix.h index 4c64e37..07b035e 100644 --- a/sys/vm/_vm_radix.h +++ b/sys/vm/_vm_radix.h @@ -37,6 +37,8 @@ struct vm_radix { uintptr_t rt_root; }; +#ifdef _KERNEL + static __inline boolean_t vm_radix_is_empty(struct vm_radix *rtree) { @@ -44,4 +46,5 @@ vm_radix_is_empty(struct vm_radix *rtree) return (rtree->rt_root == 0); } +#endif /* _KERNEL */ #endif /* !__VM_RADIX_H_ */ |