Re: acpica/acpi_wakeup.c:115:24: error: use of undeclared identifier 'suspended_cpus'

From: Ian FREISLICH <ianfreislich_at_gmail.com>
Date: Sat, 26 Jul 2025 22:19:44 UTC
On 2025-07-26 17:59, Mark Johnston wrote:
> On Sat, Jul 26, 2025 at 05:54:58PM -0400, Ian Freislich wrote:
>> On July 26, 2025 16:48:42 Mark Johnston <markj@freebsd.org> wrote:
>>
>>> On Sat, Jul 26, 2025 at 02:56:14PM -0400, Ian FREISLICH wrote:
>>>> Hi
>>>>
>>>> I get this error compiling for UP but not SMP.
>>>
>>> The SMP option is mandatory on amd64 after commit
>>> fa02551dc8a029a74eb374c418dbb5401d53c2db.  There is a static assertion
>>> in machdep.c that is supposed to report this, but it seems we should
>>> handle it a different way, perhaps in the kernel makefiles.
>>
>> Oh, thanks. I must have missed the note in UPDATING.
> 
> I had failed to add one, but it's done now.

Thanks for all your work. I'd only started compiling a single a UP 
kernel on this VM in the last month trying to debug a UFS panic that 
went away after a couple of weeks. I never went back to an SMP kernel 
because it only has one core. No loss going back to SMP I guess looking 
at your commit log.

Ian