socsvn commit: r307724 - soc2016/yuanxunzhang/head/sys/net

yuanxunzhang at FreeBSD.org yuanxunzhang at FreeBSD.org
Tue Aug 16 09:28:11 UTC 2016


Author: yuanxunzhang
Date: Tue Aug 16 09:28:10 2016
New Revision: 307724
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=307724

Log:
  EAPS: query eaps domian status

Modified:
  soc2016/yuanxunzhang/head/sys/net/eaps.h

Modified: soc2016/yuanxunzhang/head/sys/net/eaps.h
==============================================================================
--- soc2016/yuanxunzhang/head/sys/net/eaps.h	Tue Aug 16 09:01:12 2016	(r307723)
+++ soc2016/yuanxunzhang/head/sys/net/eaps.h	Tue Aug 16 09:28:10 2016	(r307724)
@@ -32,8 +32,6 @@
 #define _NET_EAPS_H
 
 
-#ifdef _KERNEL
-
 /*
  * Software state for each EAPS Domain
  */
@@ -160,7 +158,5 @@
 #define	EAPS_RLOCK_ASSERT(_sc)	rm_assert(&(_sc)->sc_mtx, RA_RLOCKED)
 #define	EAPS_WLOCK_ASSERT(_sc)	rm_assert(&(_sc)->sc_mtx, RA_WLOCKED)
 #define	EAPS_UNLOCK_ASSERT(_sc)	rm_assert(&(_sc)->sc_mtx, RA_UNLOCKED)
-
-#endif /* _KERNEL */
  
 #endif /* _NET_EAPS_H */


More information about the svn-soc-all mailing list