Commit 746d5072 authored by Andy Grover's avatar Andy Grover

ACPI: Do not compile functions not used in HT_ONLY mode

parent 826c993e
...@@ -166,6 +166,7 @@ acpi_parse_lapic_addr_ovr ( ...@@ -166,6 +166,7 @@ acpi_parse_lapic_addr_ovr (
return 0; return 0;
} }
#ifndef CONFIG_ACPI_HT_ONLY
static int __init static int __init
acpi_parse_lapic_nmi ( acpi_parse_lapic_nmi (
...@@ -185,12 +186,16 @@ acpi_parse_lapic_nmi ( ...@@ -185,12 +186,16 @@ acpi_parse_lapic_nmi (
return 0; return 0;
} }
#endif /*CONFIG_ACPI_HT_ONLY*/
#endif /*CONFIG_X86_LOCAL_APIC*/ #endif /*CONFIG_X86_LOCAL_APIC*/
#ifdef CONFIG_X86_IO_APIC #ifdef CONFIG_X86_IO_APIC
int acpi_ioapic; int acpi_ioapic;
#ifndef CONFIG_ACPI_HT_ONLY
static int __init static int __init
acpi_parse_ioapic ( acpi_parse_ioapic (
acpi_table_entry_header *header) acpi_table_entry_header *header)
...@@ -251,6 +256,7 @@ acpi_parse_nmi_src ( ...@@ -251,6 +256,7 @@ acpi_parse_nmi_src (
return 0; return 0;
} }
#endif /*!CONFIG_ACPI_HT_ONLY*/
#endif /*CONFIG_X86_IO_APIC*/ #endif /*CONFIG_X86_IO_APIC*/
......
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