patch as-lock-macro-simplification
@@ -645,11 +645,11 @@ struct cred *cr, caller_context_t *ct) { page_t *pp; ASSERT(len == PAGESIZE); - ASSERT(AS_READ_HELD(seg->s_as, &seg->s_as->a_lock)); + ASSERT(AS_READ_HELD(seg->s_as)); /* * If the page is in the hash, then we successfully claimed this * page earlier, so return it to the caller. */