Print this page
patch as-lock-macro-simplification

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