HomeFreeBSD

Extend cmpxchg() to support 8- and 16-bit values, and add xchg().

Description

Extend cmpxchg() to support 8- and 16-bit values, and add xchg().

These are needed to support updated revisions of the DRM code.

Reviewed by: hselasky (previous version)
MFC after: 2 weeks

Details

Provenance
markjAuthored on
Reviewer
hselasky
Parents
rS315718: Add support for 8- and 16-bit atomic_(f)cmpset to x86.
Branches
Unknown
Tags
Unknown