Source-Changes-HG archive

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

[src/trunk]: src/sys/kern For INTERLOCK_ACQUIRE, s/splsched/spllock/.



details:   https://anonhg.NetBSD.org/src/rev/a54bd0cfbd58
branches:  trunk
changeset: 538842:a54bd0cfbd58
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Fri Nov 01 01:13:32 2002 +0000

description:
For INTERLOCK_ACQUIRE, s/splsched/spllock/.

diffstat:

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

diffs (27 lines):

diff -r c539fa8d56c1 -r a54bd0cfbd58 sys/kern/kern_lock.c
--- a/sys/kern/kern_lock.c      Fri Nov 01 01:12:43 2002 +0000
+++ b/sys/kern/kern_lock.c      Fri Nov 01 01:13:32 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_lock.c,v 1.64 2002/09/27 15:37:44 provos Exp $    */
+/*     $NetBSD: kern_lock.c,v 1.65 2002/11/01 01:13:32 fvdl Exp $      */
 
 /*-
  * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -80,7 +80,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_lock.c,v 1.64 2002/09/27 15:37:44 provos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_lock.c,v 1.65 2002/11/01 01:13:32 fvdl Exp $");
 
 #include "opt_multiprocessor.h"
 #include "opt_lockdebug.h"
@@ -147,7 +147,7 @@
 #define        INTERLOCK_ACQUIRE(lkp, flags, s)                                \
 do {                                                                   \
        if ((flags) & LK_SPIN)                                          \
-               s = splsched();                                         \
+               s = spllock();                                          \
        simple_lock(&(lkp)->lk_interlock);                              \
 } while (0)
 



Home | Main Index | Thread Index | Old Index