Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Oct 2015 17:32:17 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r289036 - head/sys/dev/sym
Message-ID:  <201510081732.t98HWHqS037176@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510081732.t98HWHqS037176>