diff options
author | kib <kib@FreeBSD.org> | 2015-10-08 17:32:17 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2015-10-08 17:32:17 +0000 |
commit | 858dd71bc9ef5897b7dd8ba926f3e4b1827d9566 (patch) | |
tree | d7a907110398df0f8bd7a5c1b838ab6edf0e0f2d | |
parent | c71beb95384d834ab033bf1d65b79465c3b1014c (diff) | |
download | FreeBSD-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.c | 2 |
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 |