summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2003-02-25 06:46:08 +0000
committeralc <alc@FreeBSD.org>2003-02-25 06:46:08 +0000
commit5e4c1dde0ce3e76703fea1f8ed69fd71486fc248 (patch)
tree27d27f1cc8bb820bd0738e25492d827184e71202
parent6e9f6f2d6d91a3e8de65a21ee6585d75c52d8d56 (diff)
downloadFreeBSD-src-5e4c1dde0ce3e76703fea1f8ed69fd71486fc248.zip
FreeBSD-src-5e4c1dde0ce3e76703fea1f8ed69fd71486fc248.tar.gz
Fuse two #ifdefs with identical conditions.
-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 595e781..1716e35 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) \
OpenPOWER on IntegriCloud