Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/raidframe Make the kthread API a bit friendlier to l...



details:   https://anonhg.NetBSD.org/src/rev/09d2bc247053
branches:  trunk
changeset: 474447:09d2bc247053
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Jul 06 21:51:22 1999 +0000

description:
Make the kthread API a bit friendlier to loadable kernel modules.

diffstat:

 sys/dev/raidframe/rf_threadstuff.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4aeaef6d2a70 -r 09d2bc247053 sys/dev/raidframe/rf_threadstuff.h
--- a/sys/dev/raidframe/rf_threadstuff.h        Tue Jul 06 21:44:09 1999 +0000
+++ b/sys/dev/raidframe/rf_threadstuff.h        Tue Jul 06 21:51:22 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rf_threadstuff.h,v 1.4 1999/03/14 21:53:31 oster Exp $ */
+/*     $NetBSD: rf_threadstuff.h,v 1.5 1999/07/06 21:51:22 thorpej Exp $       */
 /*
  * Copyright (c) 1995 Carnegie-Mellon University.
  * All rights reserved.
@@ -97,7 +97,7 @@
 #define RF_SIGNAL_COND(_c_)            wakeup(&(_c_))
 #define RF_BROADCAST_COND(_c_)         wakeup(&(_c_))
 #define        RF_CREATE_THREAD(_handle_, _func_, _arg_) \
-       kthread_create((void (*) __P((void *)))(_func_), (void *)(_arg_), \
+       kthread_create1((void (*) __P((void *)))(_func_), (void *)(_arg_), \
            (struct proc **)&(_handle_), "raid")
 
 struct RF_ThreadGroup_s {



Home | Main Index | Thread Index | Old Index