mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
886be5725f
commit
d419aaa126
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue