diff options
author | imp <imp@FreeBSD.org> | 2008-09-18 19:57:06 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2008-09-18 19:57:06 +0000 |
commit | bc77825d81a610cbb049962db71391d86094e6b6 (patch) | |
tree | a44ebc99f371717589a1225b63709186e96948b8 /sys/cddl/compat/opensolaris/kern | |
parent | 6538abe8bec19d49b0eb66e62e3ace707cecff35 (diff) | |
download | FreeBSD-src-bc77825d81a610cbb049962db71391d86094e6b6.zip FreeBSD-src-bc77825d81a610cbb049962db71391d86094e6b6.tar.gz |
Mips needs the same treatment for atomic_or_8 as the other RISCy
architectures.
Diffstat (limited to 'sys/cddl/compat/opensolaris/kern')
-rw-r--r-- | sys/cddl/compat/opensolaris/kern/opensolaris_atomic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/cddl/compat/opensolaris/kern/opensolaris_atomic.c b/sys/cddl/compat/opensolaris/kern/opensolaris_atomic.c index fb6ef2e..37de21f 100644 --- a/sys/cddl/compat/opensolaris/kern/opensolaris_atomic.c +++ b/sys/cddl/compat/opensolaris/kern/opensolaris_atomic.c @@ -74,7 +74,8 @@ atomic_add_64_nv(volatile uint64_t *target, int64_t delta) return (newval); } -#if defined(__sparc64__) || defined(__powerpc__) || defined(__arm__) +#if defined(__sparc64__) || defined(__powerpc__) || defined(__arm__) || \ + defined(__mips__) void atomic_or_8(volatile uint8_t *target, uint8_t value) { |