aboutsummaryrefslogtreecommitdiff
path: root/sys/vm/vm_object.h
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2003-02-25 06:46:08 +0000
committerAlan Cox <alc@FreeBSD.org>2003-02-25 06:46:08 +0000
commit077808c588c219efbc1a0de3dc1ef3f036e26c2a (patch)
tree27d27f1cc8bb820bd0738e25492d827184e71202 /sys/vm/vm_object.h
parent3a7053cb60ba0db10d1c2f9735e614bc35e79f40 (diff)
downloadsrc-077808c588c219efbc1a0de3dc1ef3f036e26c2a.tar.gz
src-077808c588c219efbc1a0de3dc1ef3f036e26c2a.zip
Fuse two #ifdefs with identical conditions.
Notes
Notes: svn path=/head/; revision=111467
Diffstat (limited to 'sys/vm/vm_object.h')
-rw-r--r--sys/vm/vm_object.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/vm/vm_object.h b/sys/vm/vm_object.h
index 595e78170862..1716e35b8d91 100644
--- a/sys/vm/vm_object.h
+++ b/sys/vm/vm_object.h
@@ -171,9 +171,6 @@ extern struct mtx vm_object_list_mtx; /* lock for object list and count */
extern vm_object_t kernel_object; /* the single kernel object */
extern vm_object_t kmem_object;
-#endif /* _KERNEL */
-
-#ifdef _KERNEL
#define vm_object_lock(object) \
mtx_lock((object) == kmem_object ? &kmem_object->mtx : &Giant)
#define vm_object_unlock(object) \