From 67b74e31ca6353bcf28b954cbc86dc2c37c8c8d1 Mon Sep 17 00:00:00 2001 From: Visa Hankala Date: Sun, 30 Jul 2017 16:05:25 +0000 Subject: Define MAXCPUS per mips64 port. --- sys/arch/loongson/include/cpu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/arch/loongson') 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 *); -- cgit v1.2.3