diff options
author | Russ Anderson <rja@efs.americas.sgi.com> | 2005-11-11 17:52:02 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-11-21 17:19:36 -0500 |
commit | ab2ff46a2d22177daeae4d473c8916e4f14b4253 (patch) | |
tree | 1a099ce6b7ee44a373f99b0c4cfc157b5b98412d /arch/ia64/sn | |
parent | 771388dc7d1efe26a40242bd509e87ade2c971d1 (diff) |
[IA64-SGI] bte_copy nasid_index fix
The nasid_index was not being incremented if the
pointer was null, causing an infinite loop.
Signed-off-by: Russ Anderson (rja@sgi.com)
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/sn')
-rw-r--r-- | arch/ia64/sn/kernel/bte.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/sn/kernel/bte.c b/arch/ia64/sn/kernel/bte.c index d71f4de44f79..dd73c0cb754b 100644 --- a/arch/ia64/sn/kernel/bte.c +++ b/arch/ia64/sn/kernel/bte.c | |||
@@ -137,6 +137,7 @@ retry_bteop: | |||
137 | bte = bte_if_on_node(nasid_to_try[nasid_index],bte_if_index); | 137 | bte = bte_if_on_node(nasid_to_try[nasid_index],bte_if_index); |
138 | 138 | ||
139 | if (bte == NULL) { | 139 | if (bte == NULL) { |
140 | nasid_index++; | ||
140 | continue; | 141 | continue; |
141 | } | 142 | } |
142 | 143 | ||