summaryrefslogtreecommitdiff
path: root/sys/arch/m88k/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2007-11-22 05:42:53 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2007-11-22 05:42:53 +0000
commit87eb0efadd1a61e4eb4cb8047fede2761f8d64aa (patch)
tree62458c44147be00095951e00e663977865309e70 /sys/arch/m88k/include
parente8353e196053d5e0d60661bd58803b3a1f69fe96 (diff)
Move the cmmu lock to 88200-specific code. 88110 MP code will use ipis
and will not require such a lock.
Diffstat (limited to 'sys/arch/m88k/include')
-rw-r--r--sys/arch/m88k/include/cmmu.h21
1 files changed, 1 insertions, 20 deletions
diff --git a/sys/arch/m88k/include/cmmu.h b/sys/arch/m88k/include/cmmu.h
index f0bf7c31982..e21d3dfc644 100644
--- a/sys/arch/m88k/include/cmmu.h
+++ b/sys/arch/m88k/include/cmmu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmmu.h,v 1.17 2007/02/11 12:49:35 miod Exp $ */
+/* $OpenBSD: cmmu.h,v 1.18 2007/11/22 05:42:48 miod Exp $ */
/*
* Mach Operating System
* Copyright (c) 1993-1992 Carnegie Mellon University
@@ -33,25 +33,6 @@
*/
#if defined(_KERNEL) && !defined(_LOCORE)
-#ifdef MULTIPROCESSOR
-/*
- * This lock protects the cmmu SAR and SCR's; other ports
- * can be accessed without locking it.
- *
- * May be used from "db_interface.c".
- */
-extern __cpu_simple_lock_t cmmu_cpu_lock;
-
-#define CMMU_LOCK __cpu_simple_lock(&cmmu_cpu_lock)
-#define CMMU_UNLOCK __cpu_simple_unlock(&cmmu_cpu_lock)
-
-#else
-
-#define CMMU_LOCK do { /* nothing */ } while (0)
-#define CMMU_UNLOCK do { /* nothing */ } while (0)
-
-#endif /* MULTIPROCESSOR */
-
/* machine dependent cmmu function pointer structure */
struct cmmu_p {
cpuid_t (*init)(void);