From 5f1ede624f9fed5fc91f20e2002c209feda0663e Mon Sep 17 00:00:00 2001 From: thorpej Date: Tue, 6 Jul 1999 21:51:22 +0000 Subject: Make the kthread API a bit friendlier to loadable kernel modules. --- sys/dev/raidframe/rf_threadstuff.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/raidframe') 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 { -- cgit