about summary refs log tree commit diff
path: root/sysdeps/x86_64/cacheinfo.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-03-22 01:52:43 -0400
committerUlrich Drepper <drepper@gmail.com>2011-03-22 01:52:43 -0400
commitbb2420590cb2d7d3e580708d21e875d6562ae3c9 (patch)
tree86aa825587f618596c4e49d027aaaf2df86c9e8f /sysdeps/x86_64/cacheinfo.c
parent786e84c533d00573fa0ba7e701b1ecb03f0111fb (diff)
downloadglibc-bb2420590cb2d7d3e580708d21e875d6562ae3c9.tar.gz
glibc-bb2420590cb2d7d3e580708d21e875d6562ae3c9.tar.xz
glibc-bb2420590cb2d7d3e580708d21e875d6562ae3c9.zip
Last change caused infinite loops because of missing loop increment.
Diffstat (limited to 'sysdeps/x86_64/cacheinfo.c')
-rw-r--r--sysdeps/x86_64/cacheinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/x86_64/cacheinfo.c b/sysdeps/x86_64/cacheinfo.c
index fdd6427e12..bd4be3d2df 100644
--- a/sysdeps/x86_64/cacheinfo.c
+++ b/sysdeps/x86_64/cacheinfo.c
@@ -226,6 +226,8 @@ intel_check_word (int name, unsigned int value, bool *has_level_2,
 		  assert (offset == 2);
 		  return (ebx & 0xfff) + 1;
 		}
+
+	      ++round;
 	    }
 	  /* There is no other cache information anywhere else.  */
 	  break;