diff options
-rw-r--r-- | sys/amd64/acpica/acpi_wakeup.c | 6 | ||||
-rw-r--r-- | sys/i386/acpica/acpi_wakeup.c | 6 | ||||
-rw-r--r-- | sys/ia64/acpica/acpi_wakeup.c | 4 |
3 files changed, 8 insertions, 8 deletions
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(); 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(); diff --git a/sys/ia64/acpica/acpi_wakeup.c b/sys/ia64/acpica/acpi_wakeup.c index ae98ae0..6c70ca7 100644 --- a/sys/ia64/acpica/acpi_wakeup.c +++ b/sys/ia64/acpica/acpi_wakeup.c @@ -40,8 +40,8 @@ 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) { return (0); } |