diff options
author | fsmp <fsmp@FreeBSD.org> | 1997-09-01 07:45:37 +0000 |
---|---|---|
committer | fsmp <fsmp@FreeBSD.org> | 1997-09-01 07:45:37 +0000 |
commit | e771ecca0f52de0eb9e330af62ef2a6685ff7bc6 (patch) | |
tree | 792ab41dec7c5dfa5f548445fbb361df451ef055 /sys/i386/include/smptests.h | |
parent | c9f24c9fd2c2e8be3133555fca3de9a9ddd4ab21 (diff) | |
download | FreeBSD-src-e771ecca0f52de0eb9e330af62ef2a6685ff7bc6.zip FreeBSD-src-e771ecca0f52de0eb9e330af62ef2a6685ff7bc6.tar.gz |
General cleanup of the sub-system locking macros.
Eliminated the RECURSIVE_MPINTRLOCK.
clock.c and microtime use clock_lock.
sio.c and cy.c use com_lock.
Suggestions by: Bruce Evans <bde@zeta.org.au>
Diffstat (limited to 'sys/i386/include/smptests.h')
-rw-r--r-- | sys/i386/include/smptests.h | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/sys/i386/include/smptests.h b/sys/i386/include/smptests.h index 3cfc27b..9786984 100644 --- a/sys/i386/include/smptests.h +++ b/sys/i386/include/smptests.h @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: smptests.h,v 1.27 1997/08/31 03:02:19 smp Exp smp $ + * $Id: smptests.h,v 1.28 1997/09/01 07:37:58 smp Exp smp $ */ #ifndef _MACHINE_SMPTESTS_H_ @@ -52,25 +52,10 @@ /* - * There are places in the current kernel where it thinks it has exclusive - * access to the world by bracketing things with disable_intr()/enable_intr(). - * Now that we started letting multiple CPUs into the kernel this is no - * longer true. * - * SIMPLE_MPINTRLOCK activates code that uses a simplelock to protect - * all code suppossedly protected by disable_intr()/enable_intr(). - * - * RECURSIVE_MPINTRLOCK is an attept to provide a recursive lock, doesn't work! - * - * Only define one of these (on neither, but FAST_HI is then problamatic): -#define SIMPLE_MPINTRLOCK -#define RECURSIVE_MPINTRLOCK */ -#define SIMPLE_MPINTRLOCK - - -/* */ #define USE_COMLOCK +#define USE_CLOCKLOCK /* |