diff options
author | 2020-07-23 16:21:44 +0000 | |
---|---|---|
committer | 2020-07-23 16:21:44 +0000 | |
commit | 5fc7d48a01c6a907f4b28a097386820ba6a57028 (patch) | |
tree | 9c58acb9eec9082232bfded354ca70d46a1e9ad7 | |
parent | Enter DDB directly when we encounter an unhandled trap such that we (diff) | |
download | wireguard-openbsd-5fc7d48a01c6a907f4b28a097386820ba6a57028.tar.xz wireguard-openbsd-5fc7d48a01c6a907f4b28a097386820ba6a57028.zip |
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.h | 4 |
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) |