correct pointer types for a_ll_p and a_sc_p primitives on mips64
authorRich Felker <dalias@aerifal.cx>
Fri, 11 Mar 2016 05:12:56 +0000 (05:12 +0000)
committerRich Felker <dalias@aerifal.cx>
Fri, 11 Mar 2016 05:12:56 +0000 (05:12 +0000)
commitde400b6609becbc6a5ae87fa8b155f02a860e257
tree5c9c8ae6d6f85afe1a15ce1c17843f06fa0d90f0
parent27bf42cd9d85e242f1ffac8d99330da120c8dfdb
correct pointer types for a_ll_p and a_sc_p primitives on mips64

these changes should not affect generated code, but they reflect that
the underlying objects operated on by a_cas_p are supposed to have
type volatile void *, not volatile long. in theory a compiler could
treat the effective type mismatch in the "m" memory operands as
undefined behavior.
arch/mips64/atomic_arch.h