From 688768804f424638dd3519c2cb5e1c28f61cfadd Mon Sep 17 00:00:00 2001 From: Fredrik Holmqvist Date: Fri, 3 Sep 2010 21:45:41 +0000 Subject: [PATCH] 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 --- src/system/kernel/arch/x86/arch_int.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/system/kernel/arch/x86/arch_int.cpp b/src/system/kernel/arch/x86/arch_int.cpp index 37d49235de..f7dd272925 100644 --- a/src/system/kernel/arch/x86/arch_int.cpp +++ b/src/system/kernel/arch/x86/arch_int.cpp @@ -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;