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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=289036
@ -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…
Reference in New Issue
Block a user