summaryrefslogtreecommitdiff
path: root/sys/arch/loongson
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/loongson
parent40e3361169e7c28fedda8515ec69fa48e26aeff0 (diff)
Define MAXCPUS per mips64 port.
Diffstat (limited to 'sys/arch/loongson')
-rw-r--r--sys/arch/loongson/include/cpu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/loongson/include/cpu.h b/sys/arch/loongson/include/cpu.h
index d1bb9892eb1..d8fb448975e 100644
--- a/sys/arch/loongson/include/cpu.h
+++ b/sys/arch/loongson/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.7 2017/01/19 15:09:04 visa Exp $ */
+/* $OpenBSD: cpu.h,v 1.8 2017/07/30 16:05:24 visa Exp $ */
/*-
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
@@ -44,6 +44,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 *);