svn commit: r259145 - head/sys/dev/cxgbe

Navdeep Parhar np at FreeBSD.org
Mon Dec 9 23:33:57 UTC 2013


Author: np
Date: Mon Dec  9 23:33:57 2013
New Revision: 259145
URL: http://svnweb.freebsd.org/changeset/base/259145

Log:
  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

Modified:
  head/sys/dev/cxgbe/t4_main.c

Modified: head/sys/dev/cxgbe/t4_main.c
==============================================================================
--- head/sys/dev/cxgbe/t4_main.c	Mon Dec  9 22:58:26 2013	(r259144)
+++ head/sys/dev/cxgbe/t4_main.c	Mon Dec  9 23:33:57 2013	(r259145)
@@ -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-all mailing list