Date: Sat, 26 Jul 2025 14:56:14 -0400 From: Ian FREISLICH <ianfreislich@gmail.com> To: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org> Subject: acpica/acpi_wakeup.c:115:24: error: use of undeclared identifier 'suspended_cpus' Message-ID: <6c2b1459-8855-4e6e-84ba-c515c9d64ab7@gmail.com>
index | next in thread | raw e-mail
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
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6c2b1459-8855-4e6e-84ba-c515c9d64ab7>
