From 57405db4b17b019484feae03589e951d84da5807 Mon Sep 17 00:00:00 2001 From: Vaidyanathan Srinivasan Date: Fri, 22 Mar 2013 05:49:35 +0000 Subject: [PATCH] --- yaml --- r: 370773 b: refs/heads/master c: 7122beeee7bc1757682049780179d7c216dd1c83 h: refs/heads/master i: 370771: d1ee4867888be7288e53b4c3dd7a60764da77ac3 v: v3 --- [refs] | 2 +- trunk/arch/powerpc/mm/numa.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 6345c8b6c002..42ed37a78630 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 517b7314770c9247ed77bc0591dbeb362603a371 +refs/heads/master: 7122beeee7bc1757682049780179d7c216dd1c83 diff --git a/trunk/arch/powerpc/mm/numa.c b/trunk/arch/powerpc/mm/numa.c index bba87ca2b4d7..6a252c468d68 100644 --- a/trunk/arch/powerpc/mm/numa.c +++ b/trunk/arch/powerpc/mm/numa.c @@ -201,7 +201,7 @@ int __node_distance(int a, int b) int distance = LOCAL_DISTANCE; if (!form1_affinity) - return distance; + return ((a == b) ? LOCAL_DISTANCE : REMOTE_DISTANCE); for (i = 0; i < distance_ref_points_depth; i++) { if (distance_lookup_table[a][i] == distance_lookup_table[b][i])