diff options
author | attilio <attilio@FreeBSD.org> | 2013-03-13 01:02:11 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2013-03-13 01:02:11 +0000 |
commit | 3b0a5f04197e604493d1d77a8dd8e771feb3def5 (patch) | |
tree | 187a55f0f5c180854428f9ce51871ca120c35dd3 /sys/vm/_vm_radix.h | |
parent | 02cf10e6dbf6a8df23cfe420b6ee2de2afe79b71 (diff) | |
download | FreeBSD-src-3b0a5f04197e604493d1d77a8dd8e771feb3def5.zip FreeBSD-src-3b0a5f04197e604493d1d77a8dd8e771feb3def5.tar.gz |
Use the _KERNEL protectors.
Sponsored by: EMC / Isilon storage division
Requested by: alc
Diffstat (limited to 'sys/vm/_vm_radix.h')
-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_ */ |