From 87eb0efadd1a61e4eb4cb8047fede2761f8d64aa Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Thu, 22 Nov 2007 05:42:53 +0000 Subject: Move the cmmu lock to 88200-specific code. 88110 MP code will use ipis and will not require such a lock. --- sys/arch/m88k/include/cmmu.h | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) (limited to 'sys/arch/m88k/include') 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); -- cgit v1.2.3