Improve style(9) in the previous commit.

This commit is contained in:
jkim 2012-06-01 17:07:52 +00:00
parent 875b6e44be
commit 7c0f0ac672
3 changed files with 8 additions and 8 deletions

View File

@ -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();

View File

@ -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();

View File

@ -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);
}