mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Define mb(), rmb() and wmb() for real.
This commit is contained in:
parent
db7f0b974f
commit
ff8c51cf3e
1 changed files with 3 additions and 3 deletions
|
|
@ -29,9 +29,9 @@
|
|||
#ifndef _MACHINE_ATOMIC_H_
|
||||
#define _MACHINE_ATOMIC_H_
|
||||
|
||||
#define mb()
|
||||
#define wmb()
|
||||
#define rmb()
|
||||
#define mb() __asm __volatile("mf")
|
||||
#define wmb() mb()
|
||||
#define rmb() mb()
|
||||
|
||||
/*
|
||||
* Various simple arithmetic on memory which is atomic in the presence
|
||||
|
|
|
|||
Loading…
Reference in a new issue