kevans 6c7d2cbd69 mips: fcmpset: do not spin on sc failure
For ll/sc architectures, atomic(9) allows failure modes where *old == val
due to write failure and callers should compensate for this. Do not retry on
failure, just leave 0 in ret and fail the operation if we couldn't sc it.
This lets the caller determine if it should retry or not.

Reviewed by:	kib
Looks ok:	imp
Differential Revision:	https://reviews.freebsd.org/D21836
2019-10-02 15:13:40 +00:00
..
2018-04-12 17:43:19 +00:00
2019-08-29 07:25:27 +00:00
2019-08-19 18:15:17 +00:00
2019-09-02 01:55:55 +00:00
2018-02-12 14:48:05 +00:00