svn commit: r219495 - stable/8/sys/dev/cxgb/ulp/tom
Andriy Gapon
avg at FreeBSD.org
Fri Mar 11 15:50:45 UTC 2011
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);
More information about the svn-src-all
mailing list