svn commit: r289036 - head/sys/dev/sym

Konstantin Belousov kib at FreeBSD.org
Thu Oct 8 17:32:18 UTC 2015


Author: kib
Date: Thu Oct  8 17:32:17 2015
New Revision: 289036
URL: https://svnweb.freebsd.org/changeset/base/289036

Log:
  Add the arm64 define.
  
  Reviewed by:	andrew, emaste
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D3796

Modified:
  head/sys/dev/sym/sym_hipd.c

Modified: head/sys/dev/sym/sym_hipd.c
==============================================================================
--- head/sys/dev/sym/sym_hipd.c	Thu Oct  8 16:58:01 2015	(r289035)
+++ head/sys/dev/sym/sym_hipd.c	Thu Oct  8 17:32:17 2015	(r289036)
@@ -136,6 +136,8 @@ typedef	u_int32_t u32;
 #define MEMORY_BARRIER()	__asm__ volatile("membar #Sync" : : : "memory")
 #elif	defined	__arm__
 #define MEMORY_BARRIER()	dmb()
+#elif	defined	__aarch64__
+#define MEMORY_BARRIER()	dmb(sy)
 #else
 #error	"Not supported platform"
 #endif


More information about the svn-src-head mailing list