HomeFreeBSD

[PowerPC] Fix atomic_cmpset_masked().

Description

[PowerPC] Fix atomic_cmpset_masked().

A recent kernel change caused the previously unused atomic_cmpset_masked() to
be used.

It had a typo in it.

Instead of reading the old value from an uninitialized variable, read it
from the passed-in pointer as intended.

This fixes crashes on 64 bit Book-E.

Obtained from: jhibbits

Details

Provenance
bdragonAuthored on
Parents
rS361534: MFC: Merge ENA v2.2.0 driver
Branches
Unknown
Tags
Unknown