From owner-svn-src-head@FreeBSD.ORG Fri Jun 1 17:07:53 2012 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 16FE6106566C; Fri, 1 Jun 2012 17:07:53 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id DC8E78FC0A; Fri, 1 Jun 2012 17:07:52 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q51H7qJQ031790; Fri, 1 Jun 2012 17:07:52 GMT (envelope-from jkim@svn.freebsd.org) Received: (from jkim@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q51H7qXq031786; Fri, 1 Jun 2012 17:07:52 GMT (envelope-from jkim@svn.freebsd.org) Message-Id: <201206011707.q51H7qXq031786@svn.freebsd.org> From: Jung-uk Kim Date: Fri, 1 Jun 2012 17:07:52 +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: r236409 - in head/sys: amd64/acpica i386/acpica ia64/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: Fri, 01 Jun 2012 17:07:53 -0000 Author: jkim Date: Fri Jun 1 17:07:52 2012 New Revision: 236409 URL: http://svn.freebsd.org/changeset/base/236409 Log: Improve style(9) in the previous commit. Modified: head/sys/amd64/acpica/acpi_wakeup.c head/sys/i386/acpica/acpi_wakeup.c head/sys/ia64/acpica/acpi_wakeup.c Modified: head/sys/amd64/acpica/acpi_wakeup.c ============================================================================== --- head/sys/amd64/acpica/acpi_wakeup.c Fri Jun 1 17:00:33 2012 (r236408) +++ head/sys/amd64/acpica/acpi_wakeup.c Fri Jun 1 17:07:52 2012 (r236409) @@ -283,14 +283,14 @@ acpi_sleep_machdep(struct acpi_softc *sc } int -acpi_wakeup_machdep(struct acpi_softc *sc, int state, - int sleep_result, int intr_enabled) +acpi_wakeup_machdep(struct acpi_softc *sc, int state, int sleep_result, + int intr_enabled) { if (sleep_result == -1) return (sleep_result); - if (intr_enabled == 0) { + if (!intr_enabled) { /* Wakeup MD procedures in interrupt disabled context */ if (sleep_result == 1) { pmap_init_pat(); Modified: head/sys/i386/acpica/acpi_wakeup.c ============================================================================== --- head/sys/i386/acpica/acpi_wakeup.c Fri Jun 1 17:00:33 2012 (r236408) +++ head/sys/i386/acpica/acpi_wakeup.c Fri Jun 1 17:07:52 2012 (r236409) @@ -269,14 +269,14 @@ acpi_sleep_machdep(struct acpi_softc *sc } int -acpi_wakeup_machdep(struct acpi_softc *sc, int state, - int sleep_result, int intr_enabled) +acpi_wakeup_machdep(struct acpi_softc *sc, int state, int sleep_result, + int intr_enabled) { if (sleep_result == -1) return (sleep_result); - if (intr_enabled == 0) { + if (!intr_enabled) { /* Wakeup MD procedures in interrupt disabled context */ if (sleep_result == 1) { pmap_init_pat(); Modified: head/sys/ia64/acpica/acpi_wakeup.c ============================================================================== --- head/sys/ia64/acpica/acpi_wakeup.c Fri Jun 1 17:00:33 2012 (r236408) +++ head/sys/ia64/acpica/acpi_wakeup.c Fri Jun 1 17:07:52 2012 (r236409) @@ -40,8 +40,8 @@ acpi_sleep_machdep(struct acpi_softc *sc } int -acpi_wakeup_machdep(struct acpi_softc *sc, int state, - int sleep_result, int intr_enabled) +acpi_wakeup_machdep(struct acpi_softc *sc, int state, int sleep_result, + int intr_enabled) { return (0); }