summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2012-06-01 17:07:52 +0000
committerjkim <jkim@FreeBSD.org>2012-06-01 17:07:52 +0000
commit7c0f0ac672163569df90c3f4a9a3dd0600a7a281 (patch)
treea7e57ed06b2a45d05aa1b6752da09bbcd4055140 /sys/i386
parent875b6e44bec46764afeac43da155392ce1f55384 (diff)
downloadFreeBSD-src-7c0f0ac672163569df90c3f4a9a3dd0600a7a281.zip
FreeBSD-src-7c0f0ac672163569df90c3f4a9a3dd0600a7a281.tar.gz
Improve style(9) in the previous commit.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/acpica/acpi_wakeup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/acpica/acpi_wakeup.c b/sys/i386/acpica/acpi_wakeup.c
index 21c3157..2c07003 100644
--- a/sys/i386/acpica/acpi_wakeup.c
+++ b/sys/i386/acpica/acpi_wakeup.c
@@ -269,14 +269,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();
OpenPOWER on IntegriCloud