From 26cd294128506248835e1395cbb2ad4d71e79804 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Sun, 24 Nov 2002 20:07:23 +0000 Subject: [PATCH] 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 --- sys/ia64/ia64/mca.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/ia64/ia64/mca.c b/sys/ia64/ia64/mca.c index 9a7fed74ef9e..064e6f5f6314 100644 --- a/sys/ia64/ia64/mca.c +++ b/sys/ia64/ia64/mca.c @@ -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) {