|
@@ -486,7 +486,7 @@ __ioapic_write_entry(int apic, int pin, struct IO_APIC_route_entry e)
|
|
|
io_apic_write(apic, 0x10 + 2*pin, eu.w1);
|
|
|
}
|
|
|
|
|
|
-static void ioapic_write_entry(int apic, int pin, struct IO_APIC_route_entry e)
|
|
|
+void ioapic_write_entry(int apic, int pin, struct IO_APIC_route_entry e)
|
|
|
{
|
|
|
unsigned long flags;
|
|
|
spin_lock_irqsave(&ioapic_lock, flags);
|
|
@@ -1478,10 +1478,10 @@ static void ioapic_register_intr(int irq, struct irq_desc *desc, unsigned long t
|
|
|
handle_edge_irq, "edge");
|
|
|
}
|
|
|
|
|
|
-static int setup_ioapic_entry(int apic_id, int irq,
|
|
|
- struct IO_APIC_route_entry *entry,
|
|
|
- unsigned int destination, int trigger,
|
|
|
- int polarity, int vector)
|
|
|
+int setup_ioapic_entry(int apic_id, int irq,
|
|
|
+ struct IO_APIC_route_entry *entry,
|
|
|
+ unsigned int destination, int trigger,
|
|
|
+ int polarity, int vector)
|
|
|
{
|
|
|
/*
|
|
|
* add it to the IO-APIC irq-routing table:
|