summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2015-11-05 16:55:27 +0000
committerandrew <andrew@FreeBSD.org>2015-11-05 16:55:27 +0000
commitf754112b222dda028d3030e9d3964a25b5311357 (patch)
tree16efd93717fcc864f5bbbfb82de532af7101be5b /sys/conf
parente73a610f276e47e6461b26d590bfa1999ab437d3 (diff)
downloadFreeBSD-src-f754112b222dda028d3030e9d3964a25b5311357.zip
FreeBSD-src-f754112b222dda028d3030e9d3964a25b5311357.tar.gz
Fix the open solaris atomic functions on arm64. Without this we may use the
wrong value in the comparison, leading to incorrectly setting the new value. This has been observed in the ZFS code. Without this we can lose track of the reference count in a zrlock object. We should move to use the generic atomic functions, however as this has been observed I would prefer to have this working, then move to the generic functions. PR: 204037 Sponsored by: ABT Systems Ltd
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files.arm642
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/files.arm64 b/sys/conf/files.arm64
index 3a9a651..303b084 100644
--- a/sys/conf/files.arm64
+++ b/sys/conf/files.arm64
@@ -88,7 +88,7 @@ libkern/flsl.c standard
libkern/flsll.c standard
libkern/memmove.c standard
libkern/memset.c standard
-cddl/compat/opensolaris/kern/opensolaris_atomic.c optional zfs | dtrace compile-with "${CDDL_C}"
+cddl/contrib/opensolaris/common/atomic/aarch64/opensolaris_atomic.S optional zfs | dtrace compile-with "${CDDL_C}"
cddl/dev/dtrace/aarch64/dtrace_asm.S optional dtrace compile-with "${DTRACE_S}"
cddl/dev/dtrace/aarch64/dtrace_subr.c optional dtrace compile-with "${DTRACE_C}"
cddl/dev/fbt/aarch64/fbt_isa.c optional dtrace_fbt | dtraceall compile-with "${FBT_C}"
OpenPOWER on IntegriCloud