Improve style(9) in the previous commit.
This commit is contained in:
parent
875b6e44be
commit
7c0f0ac672
@ -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();
|
||||
|
@ -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();
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user