Date: Fri, 21 Aug 2015 21:47:29 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r287008 - head/sys/dev/pccbb Message-ID: <201508212147.t7LLlTxb006833@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Fri Aug 21 21:47:29 2015 New Revision: 287008 URL: https://svnweb.freebsd.org/changeset/base/287008 Log: We're waiting on a struct proc *, not a struct thread *. Fix a comment that was wrong. Modified: head/sys/dev/pccbb/pccbb.c Modified: head/sys/dev/pccbb/pccbb.c ============================================================================== --- head/sys/dev/pccbb/pccbb.c Fri Aug 21 19:51:27 2015 (r287007) +++ head/sys/dev/pccbb/pccbb.c Fri Aug 21 21:47:29 2015 (r287008) @@ -330,7 +330,7 @@ cbb_detach(device_t brdev) /* * Wait for the thread to die. kproc_exit will do a wakeup - * on the event thread's struct thread * so that we know it is + * on the event thread's struct proc * so that we know it is * safe to proceed. IF the thread is running, set the please * die flag and wait for it to comply. Since the wakeup on * the event thread happens only in kproc_exit, we don't
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508212147.t7LLlTxb006833>