Add an additional knob to just disable the apic code without also having

to resort to disabling acpi as well.  I'll document this in the release
notes for amd64.

Approved by: re (scottl)
This commit is contained in:
Peter Wemm 2003-12-03 06:58:48 +00:00
parent 29f2f145e4
commit 98248357d4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123118

View File

@ -190,7 +190,7 @@ madt_probe(void)
XSDT_DESCRIPTOR *xsdt;
int i, count;
if (resource_disabled("acpi", 0))
if (resource_disabled("acpi", 0) || resource_disabled("apic", 0))
return (ENXIO);
/*