diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-08-29 02:01:19 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-08-29 02:01:19 +0000 |
commit | bca10c250b0643dabec71519d1d6cf5f3a5745f1 (patch) | |
tree | 75d549922f99f39250e8d132228a5eb11884e8ee /sys/arch/m88k | |
parent | 1f28581e3209c6fd3416410ce3db0248b5e476cf (diff) |
use ansi volatile keyword, not __volatile
ok miod@ guenther@
Diffstat (limited to 'sys/arch/m88k')
-rw-r--r-- | sys/arch/m88k/include/atomic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/m88k/include/atomic.h b/sys/arch/m88k/include/atomic.h index b4f078d2444..06862aa1f0e 100644 --- a/sys/arch/m88k/include/atomic.h +++ b/sys/arch/m88k/include/atomic.h @@ -1,4 +1,4 @@ -/* $OpenBSD: atomic.h,v 1.15 2021/05/04 14:05:12 aoyama Exp $ */ +/* $OpenBSD: atomic.h,v 1.16 2022/08/29 02:01:18 jsg Exp $ */ /* Public Domain */ @@ -187,7 +187,7 @@ __sync_synchronize(void) /* trap numbers below 128 would cause a privileged instruction fault */ #define __membar() do { \ - __asm __volatile("tb1 0, %%r0, 128" ::: "memory"); \ + __asm volatile("tb1 0, %%r0, 128" ::: "memory"); \ } while (0) #endif /* gcc < 4 */ |