1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00

Fix comparison that caused a 1-off bug. This appeared harmless for

the kernel itself, but SAL on Itanium2 machines spontaneously
rebooted the machine.

Approved by: re (blanket)
Submitted by: Arun Sharma <adsharma@unix-os.sc.intel.com>
This commit is contained in:
Marcel Moolenaar 2002-11-24 20:07:23 +00:00
parent 521cef5ba6
commit 26cd294128
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107205

View File

@ -186,7 +186,7 @@ ia64_mca_init(void)
* under unreliable conditions.
*/
max_size = 0;
for (i = 0; i <= SAL_INFO_TYPES; i++) {
for (i = 0; i < SAL_INFO_TYPES; i++) {
result = ia64_sal_entry(SAL_GET_STATE_INFO_SIZE, i, 0, 0, 0,
0, 0, 0);
if (result.sal_status == 0) {