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

MFC after:	3 days
This commit is contained in:
Navdeep Parhar 2013-12-09 23:33:57 +00:00
parent 886be5725f
commit d419aaa126

View file

@ -161,10 +161,10 @@ MALLOC_DEFINE(M_CXGBE, "cxgbe", "Chelsio T4/T5 Ethernet driver and services");
* 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
/*