Page MenuHomeFreeBSD

D39001.1779073690.diff
No OneTemporary

Size
566 B
Referenced Files
None
Subscribers
None

D39001.1779073690.diff

diff --git a/sys/dev/netmap/netmap_freebsd.c b/sys/dev/netmap/netmap_freebsd.c
--- a/sys/dev/netmap/netmap_freebsd.c
+++ b/sys/dev/netmap/netmap_freebsd.c
@@ -1024,11 +1024,6 @@
* 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);

File Metadata

Mime Type
text/plain
Expires
Mon, May 18, 3:08 AM (7 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28712687
Default Alt Text
D39001.1779073690.diff (566 B)

Event Timeline