mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Atomic operation acquire barriers also need to be isync on 64-bit systems.
This commit is contained in:
parent
7097794901
commit
270dc329b7
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@
|
|||
#define rmb() __asm __volatile("lwsync" : : : "memory")
|
||||
#define wmb() __asm __volatile("lwsync" : : : "memory")
|
||||
#define __ATOMIC_REL() __asm __volatile("lwsync" : : : "memory")
|
||||
#define __ATOMIC_ACQ() __asm __volatile("lwsync" : : : "memory")
|
||||
#define __ATOMIC_ACQ() __asm __volatile("isync" : : : "memory")
|
||||
#else
|
||||
#define mb() __asm __volatile("sync" : : : "memory")
|
||||
#define rmb() __asm __volatile("sync" : : : "memory")
|
||||
|
|
|
|||
Loading…
Reference in a new issue