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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to