Add the arm64 define.
Reviewed by: andrew, emaste Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3796
This commit is contained in:
parent
00a53ebe08
commit
fd24f37341
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user