From 4244ef3b22f49b01a0d28fb07f95b654c70888ea Mon Sep 17 00:00:00 2001 From: fvdl Date: Fri, 1 Nov 2002 01:13:32 +0000 Subject: [PATCH] For INTERLOCK_ACQUIRE, s/splsched/spllock/. --- sys/kern/kern_lock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c index 4306d5b916e1..8d5e3cbf3f38 100644 --- a/sys/kern/kern_lock.c +++ b/sys/kern/kern_lock.c @@ -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 -__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 @@ do { \ #define INTERLOCK_ACQUIRE(lkp, flags, s) \ do { \ if ((flags) & LK_SPIN) \ - s = splsched(); \ + s = spllock(); \ simple_lock(&(lkp)->lk_interlock); \ } while (0)