Author: arybchik
Date: Wed Mar 25 10:26:45 2015
New Revision: 280521
URL: https://svnweb.freebsd.org/changeset/base/280521

Log:
  MFC: 278220
  
  sfxge: Implement EFSYS_MEM_READ_BARRIER()
  
  Sponsored by:   Solarflare Communications, Inc.
  Approved by:    gnn (mentor)

Modified:
  stable/10/sys/dev/sfxge/common/efsys.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/sfxge/common/efsys.h
==============================================================================
--- stable/10/sys/dev/sfxge/common/efsys.h      Wed Mar 25 10:26:07 2015        
(r280520)
+++ stable/10/sys/dev/sfxge/common/efsys.h      Wed Mar 25 10:26:45 2015        
(r280521)
@@ -677,8 +677,7 @@ typedef struct efsys_bar_s {
 
 /* BARRIERS */
 
-/* Strict ordering guaranteed by devacc.devacc_attr_dataorder */
-#define        EFSYS_MEM_READ_BARRIER()
+#define        EFSYS_MEM_READ_BARRIER()        rmb()
 #define        EFSYS_PIO_WRITE_BARRIER()
 
 /* TIMESTAMP */
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to