From owner-svn-src-head@FreeBSD.ORG Wed May 20 16:47:41 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 178B81065670; Wed, 20 May 2009 16:47:41 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 04F658FC1D; Wed, 20 May 2009 16:47:41 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4KGleKI037149; Wed, 20 May 2009 16:47:40 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4KGleSw037148; Wed, 20 May 2009 16:47:40 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <200905201647.n4KGleSw037148@svn.freebsd.org> From: Warner Losh Date: Wed, 20 May 2009 16:47:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r192442 - head/sys/i386/acpica X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2009 16:47:41 -0000 Author: imp Date: Wed May 20 16:47:40 2009 New Revision: 192442 URL: http://svn.freebsd.org/changeset/base/192442 Log: We don't need d_thread_t for cross-branch portability here anymore. Move do struct thread * instead. Modified: head/sys/i386/acpica/acpi_machdep.c Modified: head/sys/i386/acpica/acpi_machdep.c ============================================================================== --- head/sys/i386/acpica/acpi_machdep.c Wed May 20 16:29:22 2009 (r192441) +++ head/sys/i386/acpica/acpi_machdep.c Wed May 20 16:47:40 2009 (r192442) @@ -277,7 +277,7 @@ apm_create_clone(struct cdev *dev, struc } static int -apmopen(struct cdev *dev, int flag, int fmt, d_thread_t *td) +apmopen(struct cdev *dev, int flag, int fmt, struct thread *td) { struct acpi_softc *acpi_sc; struct apm_clone_data *clone; @@ -294,7 +294,7 @@ apmopen(struct cdev *dev, int flag, int } static int -apmclose(struct cdev *dev, int flag, int fmt, d_thread_t *td) +apmclose(struct cdev *dev, int flag, int fmt, struct thread *td) { struct apm_clone_data *clone; struct acpi_softc *acpi_sc; @@ -318,7 +318,7 @@ apmclose(struct cdev *dev, int flag, int } static int -apmioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag, d_thread_t *td) +apmioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag, struct thread *td) { int error; struct apm_clone_data *clone; @@ -436,7 +436,7 @@ apmwrite(struct cdev *dev, struct uio *u } static int -apmpoll(struct cdev *dev, int events, d_thread_t *td) +apmpoll(struct cdev *dev, int events, struct thread *td) { struct apm_clone_data *clone; int revents;