Author: avg
Date: Fri Mar 11 15:50:45 2011
New Revision: 219495
URL: http://svn.freebsd.org/changeset/base/219495

Log:
  MFC r216373: fix incorrect use of atomic_set_xxx in cxgb

Modified:
  stable/8/sys/dev/cxgb/ulp/tom/cxgb_tom.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/dev/cxgb/ulp/tom/cxgb_tom.c
==============================================================================
--- stable/8/sys/dev/cxgb/ulp/tom/cxgb_tom.c    Fri Mar 11 15:38:42 2011        
(r219494)
+++ stable/8/sys/dev/cxgb/ulp/tom/cxgb_tom.c    Fri Mar 11 15:50:45 2011        
(r219495)
@@ -269,7 +269,7 @@ init_tid_tabs(struct tid_info *t, unsign
        t->atid_base = atid_base;
        t->afree = NULL;
        t->stids_in_use = t->atids_in_use = 0;
-       atomic_set_int(&t->tids_in_use, 0);
+       t->tids_in_use = 0;
        mtx_init(&t->stid_lock, "stid", NULL, MTX_DUPOK|MTX_DEF);
        mtx_init(&t->atid_lock, "atid", NULL, MTX_DUPOK|MTX_DEF);
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to