Commit e00f6a84 authored by Len Brown's avatar Len Brown Committed by Len Brown

fix non-ACPI IOAPIC build

parent 77641575
......@@ -808,6 +808,7 @@ void __init find_smp_config (void)
smp_scan_config(address, 0x400);
}
int (*platform_rename_gsi)(int ioapic, int gsi);
/* --------------------------------------------------------------------------
ACPI-based MP Configuration
......@@ -1055,8 +1056,6 @@ void __init mp_config_acpi_legacy_irqs (void)
}
}
int (*platform_rename_gsi)(int ioapic, int gsi);
void mp_register_gsi (u32 gsi, int edge_level, int active_high_low)
{
int ioapic = -1;
......
......@@ -128,7 +128,6 @@ static inline void disable_acpi(void)
#define FIX_ACPI_PAGES 4
extern int acpi_gsi_to_irq(u32 gsi, unsigned int *irq);
extern int (*platform_rename_gsi)(int ioapic, int gsi);
#ifdef CONFIG_X86_IO_APIC
extern int skip_ioapic_setup;
......@@ -156,6 +155,8 @@ static inline void disable_ioapic_setup(void)
#endif
extern int (*platform_rename_gsi)(int ioapic, int gsi);
#ifdef CONFIG_ACPI_PCI
static inline void acpi_noirq_set(void) { acpi_noirq = 1; }
static inline void acpi_disable_pci(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment