HomeFreeBSD

[PowerPC] Fix NUMA checking for powernv

Description

[PowerPC] Fix NUMA checking for powernv

At this point in startup, vm_ndomains has not been initialized. Switch
to checking kenv instead.

Fixes incorrect NUMA information being set on multi-domain systems like
Talos II.

Submitted by: jhibbits
MFC after: 2 weeks

Details

Provenance
bdragonAuthored on Mar 28 2021, 1:41 AM
Parents
R10:3c065eeaa7a5: libctf: Adjust logic to match upstream after 410556f1f
Branches
Unknown
Tags
Unknown