mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
Last change caused infinite loops because of missing loop increment.
This commit is contained in:
parent
786e84c533
commit
bb2420590c
@ -1,3 +1,9 @@
|
||||
2011-03-22 Ulrich Drepper <drepper@gmail.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
|
||||
round counter.
|
||||
* sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
|
||||
|
||||
2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
[BZ #12597]
|
||||
|
@ -231,6 +231,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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user