Refer to: https://review.coreboot.org/cgit/coreboot.git/tree/src/arch/x86/acpi_s3.c
The acpi_is_wakeup() function sets the acpi_slp_type global variable, and returns a value based on it. It is necessary to set that global variable correctly (hence a function call is needed), but no value needs to be returned.
I would suggest replacing acpi_is_wakeup() with acpi_handoff_wakeup() instead.
Patch set 1:Code-Review -1
To view, visit change 31140. To unsubscribe, or for help writing mail filters, visit settings.