acpica/acpi_wakeup.c:115:24: error: use of undeclared identifier 'suspended_cpus'
- Reply: Mark Johnston : "Re: acpica/acpi_wakeup.c:115:24: error: use of undeclared identifier 'suspended_cpus'" {{#reference}}
- In reply to: {{ref.name}}: "{{ref.subject}}"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 26 Jul 2025 18:56:14 UTC
Hi
I get this error compiling for UP but not SMP.
/usr/src/sys/amd64/acpica/acpi_wakeup.c:115:24: error: use of undeclared
identifier 'suspended_cpus'
115 | if (!CPU_ISSET(cpu, &suspended_cpus))
| ^
/usr/src/sys/amd64/acpica/acpi_wakeup.c:199:32: error: call to
undeclared function 'suspend_cpus'; ISO C99 and later do not support
implicit function declarations [-Werror,-Wimplicit-function-declaration]
199 | if (!CPU_EMPTY(&suspcpus) &&
suspend_cpus(suspcpus) == 0) {
| ^
/usr/src/sys/amd64/acpica/acpi_wakeup.c:272:4: error: call to undeclared
function 'resume_cpus'; ISO C99 and later do not support implicit
function declarations [-Werror,-Wimplicit-function-declaration]
272 | resume_cpus(suspcpus);
| ^
3 errors generated.
*** Error code 1
Stop.
Ian