summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-10-08 17:32:17 +0000
committerkib <kib@FreeBSD.org>2015-10-08 17:32:17 +0000
commit858dd71bc9ef5897b7dd8ba926f3e4b1827d9566 (patch)
treed7a907110398df0f8bd7a5c1b838ab6edf0e0f2d
parentc71beb95384d834ab033bf1d65b79465c3b1014c (diff)
downloadFreeBSD-src-858dd71bc9ef5897b7dd8ba926f3e4b1827d9566.zip
FreeBSD-src-858dd71bc9ef5897b7dd8ba926f3e4b1827d9566.tar.gz
Add the arm64 define.
Reviewed by: andrew, emaste Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3796
-rw-r--r--sys/dev/sym/sym_hipd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/sym/sym_hipd.c b/sys/dev/sym/sym_hipd.c
index f2485c0..491aa54 100644
--- a/sys/dev/sym/sym_hipd.c
+++ b/sys/dev/sym/sym_hipd.c
@@ -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
OpenPOWER on IntegriCloud