Adjust the constraint for "src" in atomic_(f)cmpset_8.
authormarkj <markj@FreeBSD.org>
Mon, 27 Mar 2017 16:18:19 +0000 (16:18 +0000)
committermarkj <markj@FreeBSD.org>
Mon, 27 Mar 2017 16:18:19 +0000 (16:18 +0000)
commitd294fb49c0fd9edb6d36203db42a166194766283
tree312462cceb6e3086b65611db71fb8bec1e7becb5
parent837170b2406a5c5207f6fd085ec164608613e3f6
Adjust the constraint for "src" in atomic_(f)cmpset_8.

"r" is not sufficient to prevent the use of invalid byte-width registers
with at least gcc.

Reported and reviewed by: bde
X-MFC-With: r315718
sys/i386/include/atomic.h