Print this page
patch as-lock-macro-simplification

@@ -1647,11 +1647,11 @@
 {
 #ifdef DEBUG
         int ret;
 #endif /* DEBUG */
 
-        ASSERT(seg->s_as && AS_WRITE_HELD(seg->s_as, &seg->s_as->a_lock));
+        ASSERT(seg->s_as && AS_WRITE_HELD(seg->s_as));
 
         /* Shouldn't have called seg_unmap if mapping isn't yet established */
         ASSERT(seg->s_data != NULL);
 
         /* Unmap the whole mapping */