diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
index f25633d3d0086ebbb024e46ef93ab267a87db80a..b2937efdfd7ab026a204e26f9dc8b0cc1ff2dbe0 100644
--- a/arch/powerpc/mm/numa.c
+++ b/arch/powerpc/mm/numa.c
@@ -1341,7 +1341,7 @@ static int update_cpu_associativity_changes_mask(void)
 		volatile u8 *hypervisor_counts = lppaca[cpu].vphn_assoc_counts;
 
 		for (i = 0; i < distance_ref_points_depth; i++) {
-			if (hypervisor_counts[i] > counts[i]) {
+			if (hypervisor_counts[i] != counts[i]) {
 				counts[i] = hypervisor_counts[i];
 				changed = 1;
 			}