mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Improve style(9) in the previous commit.
This commit is contained in:
parent
4d46ef51dd
commit
d3638dc4de
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=236409
@ -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