mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
netmap: Remove obsolete compatibility defines
No functional change intended. Reviewed by: vmaffione MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D39001
This commit is contained in:
parent
3ac71149ba
commit
626d1e4a82
|
@ -1024,11 +1024,6 @@ netmap_dev_pager_fault(vm_object_t object, vm_ooffset_t offset,
|
|||
* Replace the passed in reqpage page with our own fake page and
|
||||
* free up the all of the original pages.
|
||||
*/
|
||||
#ifndef VM_OBJECT_WUNLOCK /* FreeBSD < 10.x */
|
||||
#define VM_OBJECT_WUNLOCK VM_OBJECT_UNLOCK
|
||||
#define VM_OBJECT_WLOCK VM_OBJECT_LOCK
|
||||
#endif /* VM_OBJECT_WUNLOCK */
|
||||
|
||||
VM_OBJECT_WUNLOCK(object);
|
||||
page = vm_page_getfake(paddr, memattr);
|
||||
VM_OBJECT_WLOCK(object);
|
||||
|
|
Loading…
Reference in a new issue