The function init_ioapic_mappings() is doing more than initialization
mappings. It is also initialization the number of IRQs/GSIs supported.
So rename the function to ioapic_init().
Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
boot_cpu_physical_apicid = get_apic_id();
x86_cpu_to_apicid[0] = get_apic_id();
- init_ioapic_mappings();
+ ioapic_init();
}
/*****************************************************************************
return false;
}
-void __init init_ioapic_mappings(void)
+void __init ioapic_init(void)
{
unsigned long ioapic_phys;
unsigned int i, idx = FIX_IO_APIC_BASE_0;
extern int io_apic_get_redir_entries (int ioapic);
extern int io_apic_set_pci_routing (int ioapic, int pin, int irq, int edge_level, int active_high_low);
-extern void init_ioapic_mappings(void);
+extern void ioapic_init(void);
extern void ioapic_suspend(void);
extern void ioapic_resume(void);