Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Lock internals have changed, and we depend on those...



details:   https://anonhg.NetBSD.org/src/rev/6d07e821a0dd
branches:  trunk
changeset: 485627:6d07e821a0dd
user:      pk <pk%NetBSD.org@localhost>
date:      Tue May 02 09:29:39 2000 +0000

description:
Lock internals have changed, and we depend on those in here.

diffstat:

 sys/kern/subr_prf.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r 7ab753e3c51f -r 6d07e821a0dd sys/kern/subr_prf.c
--- a/sys/kern/subr_prf.c       Tue May 02 08:17:51 2000 +0000
+++ b/sys/kern/subr_prf.c       Tue May 02 09:29:39 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_prf.c,v 1.69 2000/03/30 09:27:13 augustss Exp $   */
+/*     $NetBSD: subr_prf.c,v 1.70 2000/05/02 09:29:39 pk Exp $ */
 
 /*-
  * Copyright (c) 1986, 1988, 1991, 1993
@@ -80,12 +80,12 @@
 #define        KPRINTF_MUTEX_ENTER(s)                                          \
 do {                                                                   \
        (s) = splhigh();                                                \
-       cpu_simple_lock(&kprintf_slock);                                \
+       __cpu_simple_lock(&kprintf_slock.lock_data);                    \
 } while (0)
 
 #define        KPRINTF_MUTEX_EXIT(s)                                           \
 do {                                                                   \
-       cpu_simple_unlock(&kprintf_slock);                              \
+       __cpu_simple_unlock(&kprintf_slock.lock_data);                  \
        splx((s));                                                      \
 } while (0)
 #else /* ! MULTIPROCESSOR */



Home | Main Index | Thread Index | Old Index