svn commit: r259241 - stable/10/sys/dev/cxgbe
Navdeep Parhar
np at FreeBSD.org
Thu Dec 12 00:27:28 UTC 2013
Author: np
Date: Thu Dec 12 00:27:27 2013
New Revision: 259241
URL: http://svnweb.freebsd.org/changeset/base/259241
Log:
MFC r259145:
Unstaticize t4_list and t4_uld_list. This works around a clang
annoyance[1] and allows kgdb to find these symbols.
[1] http://lists.freebsd.org/pipermail/freebsd-hackers/2012-November/041166.html
Modified:
stable/10/sys/dev/cxgbe/t4_main.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/cxgbe/t4_main.c
==============================================================================
--- stable/10/sys/dev/cxgbe/t4_main.c Thu Dec 12 00:27:22 2013 (r259240)
+++ stable/10/sys/dev/cxgbe/t4_main.c Thu Dec 12 00:27:27 2013 (r259241)
@@ -161,10 +161,10 @@ MALLOC_DEFINE(M_CXGBE, "cxgbe", "Chelsio
* then ADAPTER_LOCK, then t4_uld_list_lock.
*/
static struct sx t4_list_lock;
-static SLIST_HEAD(, adapter) t4_list;
+SLIST_HEAD(, adapter) t4_list;
#ifdef TCP_OFFLOAD
static struct sx t4_uld_list_lock;
-static SLIST_HEAD(, uld_info) t4_uld_list;
+SLIST_HEAD(, uld_info) t4_uld_list;
#endif
/*
More information about the svn-src-stable-10
mailing list