From 7c0f0ac672163569df90c3f4a9a3dd0600a7a281 Mon Sep 17 00:00:00 2001 From: jkim Date: Fri, 1 Jun 2012 17:07:52 +0000 Subject: Improve style(9) in the previous commit. --- sys/amd64/acpica/acpi_wakeup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/amd64/acpica') diff --git a/sys/amd64/acpica/acpi_wakeup.c b/sys/amd64/acpica/acpi_wakeup.c index 0bf1359..2cd8bc7 100644 --- a/sys/amd64/acpica/acpi_wakeup.c +++ b/sys/amd64/acpica/acpi_wakeup.c @@ -283,14 +283,14 @@ acpi_sleep_machdep(struct acpi_softc *sc, int state) } 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(); -- cgit v1.1