From 39b9b6a43f69754fa2d549a2918afbfb395d42af Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sun, 6 Oct 2002 05:25:10 +0000 Subject: It appears CPU_MAXID should be 1 more than the number of CPU_* defines. --- sys/ia64/include/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/ia64/include/cpu.h b/sys/ia64/include/cpu.h index cf8f45130315..92e2ccec3868 100644 --- a/sys/ia64/include/cpu.h +++ b/sys/ia64/include/cpu.h @@ -81,7 +81,7 @@ struct clockframe { #define CPU_ADJKERNTZ 7 /* int: timezone offset (seconds) */ #define CPU_DISRTCSET 8 /* int: disable resettodr() call */ #define CPU_WALLCLOCK 9 /* int: indicates wall CMOS clock */ -#define CPU_MAXID 9 /* 9 valid machdep IDs */ +#define CPU_MAXID 10 /* valid machdep IDs */ #define CTL_MACHDEP_NAMES { \ { 0, 0 }, \ -- cgit v1.3