aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/powernv/platform_powernv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/powernv/platform_powernv.c')
-rw-r--r--sys/powerpc/powernv/platform_powernv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/powerpc/powernv/platform_powernv.c b/sys/powerpc/powernv/platform_powernv.c
index 434b642a66a8..d7acc544c2ed 100644
--- a/sys/powerpc/powernv/platform_powernv.c
+++ b/sys/powerpc/powernv/platform_powernv.c
@@ -532,7 +532,9 @@ powernv_node_numa_domain(platform_t platform, phandle_t node)
#ifndef NUMA
return (0);
#endif
- if (vm_ndomains == 1)
+ i = 0;
+ TUNABLE_INT_FETCH("vm.numa.disabled", &i);
+ if (i)
return (0);
res = OF_getencprop(node, "ibm,associativity",