Page MenuHomeFreeBSD

arm: fix atomic_testand{set,clear}_64 for ops on high bits
ClosedPublic

Authored by rlibby on Jan 2 2021, 8:29 PM.

Details

Summary

The fix in bd03acedb804add1e22178d50eb2bfb703974ddf worked for 32-bit
ops, and for 64-bit ops for bit arguments of 0 - 95, but then was broken
for operations on the high 32 bits after that.


See also D27886, D27895, and bd03acedb804add1e22178d50eb2bfb703974ddf.

Test Plan

So far just buildkernel, I haven't been able to get qemu-system-arm working.

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.