summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2019-06-04 14:03:22 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2019-06-04 14:03:22 +0000
commit66b4ff71d18a3c4b2eea68c9a36be79d8c722ecf (patch)
tree15a0fe4cba222a2e4d1dbd2e56484f3aeb4ffa00 /sys
parent1acc29773b5d9245f51bd096151bef3ac9ac4532 (diff)
Bump MAXCPUS to 32 so that we can use all cores on the Ampere eMAG.
ok kettenis@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/arm64/include/cpu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm64/include/cpu.h b/sys/arch/arm64/include/cpu.h
index 8b78ad8007f..1730e85d27b 100644
--- a/sys/arch/arm64/include/cpu.h
+++ b/sys/arch/arm64/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.12 2018/12/05 10:28:21 jsg Exp $ */
+/* $OpenBSD: cpu.h,v 1.13 2019/06/04 14:03:21 patrick Exp $ */
/*
* Copyright (c) 2016 Dale Rahn <drahn@dalerahn.com>
*
@@ -167,7 +167,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 24
+#define MAXCPUS 32
extern struct cpu_info *cpu_info[MAXCPUS];