svn commit: r278220 - head/sys/dev/sfxge/common
Andrew Rybchenko
arybchik at FreeBSD.org
Wed Feb 4 19:58:55 UTC 2015
Author: arybchik
Date: Wed Feb 4 19:58:54 2015
New Revision: 278220
URL: https://svnweb.freebsd.org/changeset/base/278220
Log:
sfxge: Implement EFSYS_MEM_READ_BARRIER()
Sponsored by: Solarflare Communications, Inc.
Approved by: gnn (mentor)
Modified:
head/sys/dev/sfxge/common/efsys.h
Modified: head/sys/dev/sfxge/common/efsys.h
==============================================================================
--- head/sys/dev/sfxge/common/efsys.h Wed Feb 4 19:40:30 2015 (r278219)
+++ head/sys/dev/sfxge/common/efsys.h Wed Feb 4 19:58:54 2015 (r278220)
@@ -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 */
More information about the svn-src-head
mailing list