summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>1999-07-06 21:51:22 +0000
committerthorpej <thorpej@NetBSD.org>1999-07-06 21:51:22 +0000
commit5f1ede624f9fed5fc91f20e2002c209feda0663e (patch)
treec6e6aba7a9a04c5aa489b621f37f0a62c7727cbd /sys/dev
parent7b3258b6a7addf77d3e4ceddce6ef0df5a242711 (diff)
Make the kthread API a bit friendlier to loadable kernel modules.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/raidframe/rf_threadstuff.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_threadstuff.h b/sys/dev/raidframe/rf_threadstuff.h
index d1530fad2ae..97bd7ebe3ea 100644
--- a/sys/dev/raidframe/rf_threadstuff.h
+++ b/sys/dev/raidframe/rf_threadstuff.h
@@ -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 @@ typedef void *RF_ThreadArg_t;
#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 {