summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2020-07-23 16:21:45 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2020-07-23 16:21:45 +0000
commit9e10dd1a20314ab28a3a9a6b34614ce7c35b21a5 (patch)
tree62558b37db08fe2531517d1ec5e6a1e6b5b9f929
parent3567cc8d06d1b14cf6a245c03ca24c0e7b37e8af (diff)
Bump MAXCPUS (for MULTIPROCESSOR kernels) to 48, which seems to be the
maximum numbers of cores available in any POWER9 system.
-rw-r--r--sys/arch/powerpc64/include/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/powerpc64/include/cpu.h b/sys/arch/powerpc64/include/cpu.h
index 87fcd31c45b..bc01c1fe6a5 100644
--- a/sys/arch/powerpc64/include/cpu.h
+++ b/sys/arch/powerpc64/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.22 2020/07/22 20:41:26 kettenis Exp $ */
+/* $OpenBSD: cpu.h,v 1.23 2020/07/23 16:21:44 kettenis Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
@@ -131,7 +131,7 @@ register struct cpu_info *__curcpu asm("r13");
#else
-#define MAXCPUS 16
+#define MAXCPUS 48
#define CPU_IS_PRIMARY(ci) ((ci) == cpu_info_primary)
#define cpu_number() (curcpu()->ci_cpuid)