projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
771388d
)
[IA64-SGI] bte_copy nasid_index fix
author
Russ Anderson
<rja@efs.americas.sgi.com>
Fri, 11 Nov 2005 22:52:02 +0000
(16:52 -0600)
committer
Tony Luck
<tony.luck@intel.com>
Mon, 21 Nov 2005 22:19:36 +0000
(14:19 -0800)
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>
arch/ia64/sn/kernel/bte.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/ia64/sn/kernel/bte.c
b/arch/ia64/sn/kernel/bte.c
index d71f4de44f79a1074ee3c614735576cf3b9a8369..dd73c0cb754b4051214f113bf0bad237b684148a 100644
(file)
--- a/
arch/ia64/sn/kernel/bte.c
+++ b/
arch/ia64/sn/kernel/bte.c
@@
-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;
}