Module Name: src Committed By: haad Date: Wed May 12 15:53:20 UTC 2010
Modified Files: src/sys/kern: kern_kthread.c Log Message: Fix bogus KASSERT, typo and KNFize my previous patch. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/sys/kern/kern_kthread.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/kern_kthread.c diff -u src/sys/kern/kern_kthread.c:1.28 src/sys/kern/kern_kthread.c:1.29 --- src/sys/kern/kern_kthread.c:1.28 Tue May 11 22:26:00 2010 +++ src/sys/kern/kern_kthread.c Wed May 12 15:53:20 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: kern_kthread.c,v 1.28 2010/05/11 22:26:00 haad Exp $ */ +/* $NetBSD: kern_kthread.c,v 1.29 2010/05/12 15:53:20 haad Exp $ */ /*- * Copyright (c) 1998, 1999, 2007, 2009 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: kern_kthread.c,v 1.28 2010/05/11 22:26:00 haad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: kern_kthread.c,v 1.29 2010/05/12 15:53:20 haad Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -54,10 +54,10 @@ * Fork a kernel thread. Any process can request this to be done. * * With joinable kthreads KTHREAD_JOINABLE flag this should be known. - * 1. If you specify KTHREAD_JOINABLE, you must call kthread_join() to reap the thread. - * It will not be automatically reaped by the system. - * 2. For any given call to kthread_create(KTHREAD_JOINABLE), you may call kthread_join() - * only once on the returned lwp_t *. + * 1. If you specify KTHREAD_JOINABLE, you must call kthread_join() to reap + * the thread. It will not be automatically reaped by the system. + * 2. For any given call to kthread_create(KTHREAD_JOINABLE), you may call + * kthread_join() only once on the returned lwp_t *. */ int kthread_create(pri_t pri, int flag, struct cpu_info *ci,