b9159074e4
locking is already there. Bump PORTREVISION. This should fix recursive panics reported on 5.4-STABLE. Reported by: green Submitted by: sam Reviewed by: alc, dfr
18 lines
442 B
C
18 lines
442 B
C
--- src/nvidia_subr.c.orig Sat Feb 19 13:19:54 2005
|
|
+++ src/nvidia_subr.c Sat Feb 19 13:22:47 2005
|
|
@@ -1115,10 +1115,15 @@
|
|
|
|
#if __FreeBSD_version < 500000
|
|
vm_page_wire(m);
|
|
+#else
|
|
+ VM_OBJECT_LOCK(m->object);
|
|
#endif
|
|
vm_page_lock_queues();
|
|
vm_page_wakeup(m);
|
|
vm_page_unlock_queues();
|
|
+#if __FreeBSD_version >= 500000
|
|
+ VM_OBJECT_UNLOCK(m->object);
|
|
+#endif
|
|
}
|
|
|
|
at->object = object;
|