diff options
author | jchandra <jchandra@FreeBSD.org> | 2011-01-28 06:12:59 +0000 |
---|---|---|
committer | jchandra <jchandra@FreeBSD.org> | 2011-01-28 06:12:59 +0000 |
commit | 494df61f3bbd6b98dbe420f0854c6f0cb98ad36d (patch) | |
tree | 80eaa36d6670c31bba13e4745294e76f87c8a16a /sys/cddl/compat/opensolaris/kern/opensolaris_atomic.c | |
parent | 2501c5eeee6bb52fa0ab1ccf812fcc63c3c1177d (diff) | |
download | FreeBSD-src-494df61f3bbd6b98dbe420f0854c6f0cb98ad36d.zip FreeBSD-src-494df61f3bbd6b98dbe420f0854c6f0cb98ad36d.tar.gz |
CDDL fixes for MIPS n32.
Provide 64 bit atomic ops, and use 32 bit pointer.
Diffstat (limited to 'sys/cddl/compat/opensolaris/kern/opensolaris_atomic.c')
-rw-r--r-- | sys/cddl/compat/opensolaris/kern/opensolaris_atomic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/compat/opensolaris/kern/opensolaris_atomic.c b/sys/cddl/compat/opensolaris/kern/opensolaris_atomic.c index bdb8f02..72d1557 100644 --- a/sys/cddl/compat/opensolaris/kern/opensolaris_atomic.c +++ b/sys/cddl/compat/opensolaris/kern/opensolaris_atomic.c @@ -52,7 +52,7 @@ atomic_init(void) } #endif -#ifndef __LP64__ +#if !defined(__LP64__) && !defined(__mips_n32) void atomic_add_64(volatile uint64_t *target, int64_t delta) { |