HomeFreeBSD

powerpc/powernv: powernv_node_numa_domain() fix non-NUMA case

Description

powerpc/powernv: powernv_node_numa_domain() fix non-NUMA case

If NUMA is not enabled in the kernel config, or is disabled at boot, this
function should just return domain 0 regardless of what's in the device
tree.

Fixes a panic in iflib with NUMA disabled.

Reported by: luporl

Details

Provenance
jhibbitsAuthored on
Parents
rS358564: In r358471, we interrupted the case block that would eventually lead
Branches
Unknown
Tags
Unknown