summaryrefslogtreecommitdiff
path: root/sys/arch/m88k/include/cpu.h
diff options
context:
space:
mode:
authorKenji Aoyama <aoyama@cvs.openbsd.org>2007-01-12 21:41:54 +0000
committerKenji Aoyama <aoyama@cvs.openbsd.org>2007-01-12 21:41:54 +0000
commitae4f44026a982e17a006294f4d27e8a16032364e (patch)
tree6a71a2ebd6fa94e8e70e4b2aacbf493c487f3072 /sys/arch/m88k/include/cpu.h
parent00a9f5438e4f496ec6faed00cbb07ca97ddba9c1 (diff)
Change the secondary CMMU's data cache turn on so that do not hog the
bus while they spin, as same as 3.8. This have been missed since CMMU initialize cleanup. Also m88k_cpus[] should have 4 elements on luna88k, even in non-MULTIPROCESSOR kernel. ok miod@
Diffstat (limited to 'sys/arch/m88k/include/cpu.h')
-rw-r--r--sys/arch/m88k/include/cpu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/m88k/include/cpu.h b/sys/arch/m88k/include/cpu.h
index 3b7e7d57b6f..08b797c5372 100644
--- a/sys/arch/m88k/include/cpu.h
+++ b/sys/arch/m88k/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.17 2006/12/24 20:30:35 miod Exp $ */
+/* $OpenBSD: cpu.h,v 1.18 2007/01/12 21:41:53 aoyama Exp $ */
/*
* Copyright (c) 1996 Nivas Madhur
* Copyright (c) 1992, 1993
@@ -65,9 +65,11 @@
#define MAX_CPUS 4
#endif
#else
+#if !defined(MAX_CPUS)
#undef MAX_CPUS
#define MAX_CPUS 1
#endif
+#endif
#ifndef _LOCORE