From: kettenis Date: Thu, 16 Jun 2022 20:45:42 +0000 (+0000) Subject: Bump MAXCPUS to 256, which is the maximum number of cores on a dual socket X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d8d35dc4b6d35d3b1ae2e3b3bfe63f8e7e59bdae;p=openbsd Bump MAXCPUS to 256, which is the maximum number of cores on a dual socket machine with Ampere Altra Max CPUs. OpenBSD should run on such a machine now. ok patrick@, deraadt@ --- diff --git a/sys/arch/arm64/include/cpu.h b/sys/arch/arm64/include/cpu.h index a57b9c2f4a0..fe2b56ec1ab 100644 --- a/sys/arch/arm64/include/cpu.h +++ b/sys/arch/arm64/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.25 2022/03/23 23:36:35 kettenis Exp $ */ +/* $OpenBSD: cpu.h,v 1.26 2022/06/16 20:45:42 kettenis Exp $ */ /* * Copyright (c) 2016 Dale Rahn * @@ -184,7 +184,7 @@ extern struct cpu_info *cpu_info_list; #define CPU_INFO_FOREACH(cii, ci) for (cii = 0, ci = cpu_info_list; \ ci != NULL; ci = ci->ci_next) #define CPU_INFO_UNIT(ci) ((ci)->ci_dev ? (ci)->ci_dev->dv_unit : 0) -#define MAXCPUS 32 +#define MAXCPUS 256 extern struct cpu_info *cpu_info[MAXCPUS];