summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2010-11-29 00:04:09 +0000
committerdlg <dlg@openbsd.org>2010-11-29 00:04:09 +0000
commitfc9302c8340206b9955ba1584289215e3d6ca1d0 (patch)
treef235f4738a098a02f8cddd59d569415356758f32
parentGet rid of "forever" loop in the interrupt handler such that we drop out of the (diff)
downloadwireguard-openbsd-fc9302c8340206b9955ba1584289215e3d6ca1d0.tar.xz
wireguard-openbsd-fc9302c8340206b9955ba1584289215e3d6ca1d0.zip
bump the number of supported cpus from 32 up to 64. lets me attach and use
all 48 cores in one of my boxes. requested by deraadt@ made possible by the recent pmap diff by kettenis@
-rw-r--r--sys/arch/amd64/include/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/include/cpu.h b/sys/arch/amd64/include/cpu.h
index 2ae64ca5354..7666e74dfa8 100644
--- a/sys/arch/amd64/include/cpu.h
+++ b/sys/arch/amd64/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.61 2010/11/26 11:59:40 krw Exp $ */
+/* $OpenBSD: cpu.h,v 1.62 2010/11/29 00:04:09 dlg Exp $ */
/* $NetBSD: cpu.h,v 1.1 2003/04/26 18:39:39 fvdl Exp $ */
/*-
@@ -159,7 +159,7 @@ extern void need_resched(struct cpu_info *);
#if defined(MULTIPROCESSOR)
-#define MAXCPUS 32 /* bitmask; can be bumped to 64 */
+#define MAXCPUS 64 /* bitmask; can be bumped to 64 */
#define CPU_STARTUP(_ci) ((_ci)->ci_func->start(_ci))
#define CPU_STOP(_ci) ((_ci)->ci_func->stop(_ci))