summaryrefslogtreecommitdiff
path: root/sys/arch/octeon
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2017-07-30 16:05:25 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2017-07-30 16:05:25 +0000
commit67b74e31ca6353bcf28b954cbc86dc2c37c8c8d1 (patch)
tree0f793c9f59f057e8590cdedbf7d97ab5eb6ac79f /sys/arch/octeon
parent40e3361169e7c28fedda8515ec69fa48e26aeff0 (diff)
Define MAXCPUS per mips64 port.
Diffstat (limited to 'sys/arch/octeon')
-rw-r--r--sys/arch/octeon/include/cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/octeon/include/cpu.h b/sys/arch/octeon/include/cpu.h
index 635491e2ea7..a19c2f76f30 100644
--- a/sys/arch/octeon/include/cpu.h
+++ b/sys/arch/octeon/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.8 2017/02/26 05:52:02 visa Exp $ */
+/* $OpenBSD: cpu.h,v 1.9 2017/07/30 16:05:24 visa Exp $ */
/*-
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -46,6 +46,7 @@
#ifdef _KERNEL
#if defined(MULTIPROCESSOR) && !defined(_LOCORE)
+#define MAXCPUS 4
struct cpu_info;
struct cpu_info *hw_getcurcpu(void);
void hw_setcurcpu(struct cpu_info *);