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 May 26 2020, 7:03 PM
Parents
rGd75038a0af07: Fix entering KDB with dtrace-enabled kernel.
Branches
Unknown
Tags
Unknown