Skip to contentSkip to conversation

bte_copy nasid_index fix

PATCH New Russ Anderson 1 participant 1 message Nov 11, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bte_copy nasid_index fix

[patch] bte_copy nasid_index fix

The nasid_index was not being incremented if the
pointer was null, causing an infinite loop.

--------------------------------------------------------------

 arch/ia64/sn/kernel/bte.c |    1 +
 1 files changed, 1 insertion(+)

Index: test/arch/ia64/sn/kernel/bte.c
=================================--- test.orig/arch/ia64/sn/kernel/bte.c 2005-11-02 15:09:24.420194342 -0600
+++ test/arch/ia64/sn/kernel/bte.c 2005-11-11 13:47:34.180408880 -0600
@@ -137,6 +137,7 @@ retry_bteop:
bte = bte_if_on_node(nasid_to_try[nasid_index],bte_if_index);

if (bte = NULL) {
+ nasid_index++;
continue;
}

Signature · 2 lines
Russ Anderson, OS RAS/Partitioning Project Lead  
SGI - Silicon Graphics Inc          [email protected]