]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix the dtrace ARM atomic compare-and-set functions. These functions are
authorAndrew Turner <andrew@FreeBSD.org>
Sun, 1 Mar 2015 10:04:14 +0000 (10:04 +0000)
committerAndrew Turner <andrew@FreeBSD.org>
Sun, 1 Mar 2015 10:04:14 +0000 (10:04 +0000)
commit2b6af94bc85ee808d1c29554efa3c49045c49bc8
treeff93a95918125f845238c673c5c8fb66578fae38
parentae750c192b30d64d660b3c6e1b034169618aab87
Fix the dtrace ARM atomic compare-and-set functions. These functions are
expected to return the data in the memory location pointed at by target
after the operation. The FreeBSD atomic functions previously used return
either 0 or 1 to indicate if the comparison succeeded or not respectively.

With this change these functions only support ARMv6 and later are supported
by these functions.

Sponsored by: ABT Systems Ltd
sys/cddl/dev/dtrace/arm/dtrace_asm.S
sys/cddl/dev/dtrace/arm/dtrace_isa.c