HomeFreeBSD

amdtemp: Remove CTLFLAG_NEEDGIANT from sysctls.

Description

amdtemp: Remove CTLFLAG_NEEDGIANT from sysctls.

It seems to be needed only to serialize very old K8 registers access.
Introduce separate lock for that and remove Giant dependency.

MFC after: 2 weeks

Details

Provenance
mavAuthored on Dec 26 2021, 2:03 AM
Parents
rG9a6201ac2ff2: stress2: Fix "set-but-not-unused" warnings
Branches
Unknown
Tags
Unknown