summaryrefslogtreecommitdiff
path: root/src/arch/x86/ioapic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/ioapic.c')
-rw-r--r--src/arch/x86/ioapic.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/arch/x86/ioapic.c b/src/arch/x86/ioapic.c
index a11e5dd9b3..61fed890d1 100644
--- a/src/arch/x86/ioapic.c
+++ b/src/arch/x86/ioapic.c
@@ -136,17 +136,9 @@ void ioapic_set_boot_config(void *ioapic_base, bool irq_on_fsb)
}
}
-void setup_ioapic_helper(void *ioapic_base, u8 ioapic_id, bool enable_virtual_wire)
+void setup_ioapic(void *ioapic_base, u8 ioapic_id)
{
set_ioapic_id(ioapic_base, ioapic_id);
clear_ioapic(ioapic_base);
-
- if (enable_virtual_wire)
- route_i8259_irq0(ioapic_base);
-}
-
-
-void setup_ioapic(void *ioapic_base, u8 ioapic_id)
-{
- setup_ioapic_helper(ioapic_base, ioapic_id, true);
+ route_i8259_irq0(ioapic_base);
}