Fuse two #ifdefs with identical conditions.

This commit is contained in:
Alan Cox 2003-02-25 06:46:08 +00:00
parent 3a7053cb60
commit 077808c588

View File

@ -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) \