HomeFreeBSD

In atomic_fetchadd_32(), do not blindly increase the value of %3.

Description

In atomic_fetchadd_32(), do not blindly increase the value of %3.
It should just contain the value we want to add, as if we're interrupted
between the add and the str, we will restart from the beginning. Just use
a register we can scratch instead.

MFC After: 1 week

Details

Provenance
cognetAuthored on Nov 27 2007, 10:12 PM
Parents
rG9f0c02d4255b: Update the shlib version for libgssapi_krb5. This file needs to be updated
Branches
Unknown
Tags
Unknown

Event Timeline