The flag returns true if io_apic is disabled. Use the proper check so that it can be toggled while booting. (io_apic is not working though so no need to try unless you are interested in development).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38525 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Fredrik Holmqvist 2010-09-03 21:45:41 +00:00
parent b79d094ee0
commit 688768804f

View File

@ -577,7 +577,7 @@ ioapic_init(kernel_args* args)
if (sIOAPIC == NULL)
return;
if (!get_safemode_boolean(B_SAFEMODE_DISABLE_IOAPIC, true)) {
if (get_safemode_boolean(B_SAFEMODE_DISABLE_IOAPIC, true)) {
dprintf("ioapic explicitly disabled, not using ioapics for interrupt "
"routing\n");
return;
@ -589,9 +589,6 @@ ioapic_init(kernel_args* args)
return;
}
// disable io apic for now
return;
// load acpi module
status_t status;
acpi_module_info* acpiModule;