Skip to content

Commit

Permalink
[IA64-SGI] bte_copy nasid_index fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Russ Anderson authored and Tony Luck committed Nov 21, 2005
1 parent 771388d commit ab2ff46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/ia64/sn/kernel/bte.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ bte_result_t bte_copy(u64 src, u64 dest, u64 len, u64 mode, void *notification)
bte = bte_if_on_node(nasid_to_try[nasid_index],bte_if_index);

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

Expand Down

0 comments on commit ab2ff46

Please sign in to comment.