]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Stop using the '+' constraint modifier with inline assembly. The '+'
authorjhb <jhb@FreeBSD.org>
Thu, 15 Sep 2005 19:31:22 +0000 (19:31 +0000)
committerjhb <jhb@FreeBSD.org>
Thu, 15 Sep 2005 19:31:22 +0000 (19:31 +0000)
commitb729e912ca61300693d243d104d5956a07be67b3
tree3f673839211ac6f986ce60c40b7aab1d6a8b3cea
parentb4bff5a977cedb926687495a528a0d6a2c7c872b
Stop using the '+' constraint modifier with inline assembly.  The '+'
constraint is actually only allowed for register operands.  Instead, use
separate input and output memory constraints.

Education from: alc
Reviewed by: alc
Tested on: i386, alpha
MFC after: 1 week
sys/alpha/include/atomic.h
sys/amd64/include/atomic.h
sys/i386/include/atomic.h
sys/powerpc/include/atomic.h