1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111467

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