diff options
author | marcel <marcel@FreeBSD.org> | 2008-11-22 06:56:49 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2008-11-22 06:56:49 +0000 |
commit | 07d364adf02c9370780cae58faf75152aa132e10 (patch) | |
tree | 8f3798fc4b810e21e3e11bacfcb95fe2c73e5823 /sys | |
parent | 9d3bb599b193495af5419ee85be4afe9a18b6091 (diff) | |
download | FreeBSD-src-07d364adf02c9370780cae58faf75152aa132e10.zip FreeBSD-src-07d364adf02c9370780cae58faf75152aa132e10.tar.gz |
Define mb(), rmb() and wmb() for real.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ia64/include/atomic.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ia64/include/atomic.h b/sys/ia64/include/atomic.h index fdfcb9e..d2f8874 100644 --- a/sys/ia64/include/atomic.h +++ b/sys/ia64/include/atomic.h @@ -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 |