HomeFreeBSD

powerpc: Add atomic_testand_{set,clear}_{int,long}

Description

powerpc: Add atomic_testand_{set,clear}_{int,long}

Add machine-optimized implementations for the following:

  • atomic_testandset_int
  • atomic_testandclear_int
  • atomic_testandset_long
  • atomic_testandclear_long

This fixes the build with ISA_206_ATOMICS enabled.
Add the associated atomic_testandset_32, atomic_testandclear_32, so
that ice(4) can potentially build.

(cherry picked from commit b5d227b0b27adbb7b4db9f8f27a14df342344c50)

Details

Provenance
jhibbitsAuthored on Jan 14 2022, 3:46 AM
npCommitted on Mar 2 2022, 10:08 PM
Parents
rGde6c7392d0ef: cxgbe(4): Changes to the fatal error handler.
Branches
Unknown
Tags
Unknown