From owner-cvs-src@FreeBSD.ORG Fri Sep 24 20:28:00 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E084216A4CE; Fri, 24 Sep 2004 20:28:00 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFFCE43D48; Fri, 24 Sep 2004 20:28:00 +0000 (GMT) (envelope-from joerg@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i8OKS0GA052290; Fri, 24 Sep 2004 20:28:00 GMT (envelope-from joerg@repoman.freebsd.org) Received: (from joerg@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i8OKS0wn052289; Fri, 24 Sep 2004 20:28:00 GMT (envelope-from joerg) Message-Id: <200409242028.i8OKS0wn052289@repoman.freebsd.org> From: Joerg Wunsch Date: Fri, 24 Sep 2004 20:28:00 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/fdc fdc.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2004 20:28:01 -0000 joerg 2004-09-24 20:28:00 UTC FreeBSD src repository Modified files: sys/dev/fdc fdc.c Log: Protect fdc->flags within the worker thread, too. Use kthread_exit() instead of falling through the end of the worker thread's main function. Since kthread_exit() wakeup(9)s everyone sleeping on the thread handle, drop the superfluous wakeup() call. Revision Changes Path 1.293 +6 -1 src/sys/dev/fdc/fdc.c