From d8d35dc4b6d35d3b1ae2e3b3bfe63f8e7e59bdae Mon Sep 17 00:00:00 2001 From: kettenis Date: Thu, 16 Jun 2022 20:45:42 +0000 Subject: [PATCH] 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@ --- sys/arch/arm64/include/cpu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]; -- 2.20.1