diff options
Diffstat (limited to 'arch/x86/kernel/acpi/boot.c')
-rw-r--r-- | arch/x86/kernel/acpi/boot.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c index 6516359922ba..5c0107602b62 100644 --- a/arch/x86/kernel/acpi/boot.c +++ b/arch/x86/kernel/acpi/boot.c | |||
@@ -1787,6 +1787,20 @@ static int __init parse_pci(char *arg) | |||
1787 | } | 1787 | } |
1788 | early_param("pci", parse_pci); | 1788 | early_param("pci", parse_pci); |
1789 | 1789 | ||
1790 | int __init acpi_mps_check(void) | ||
1791 | { | ||
1792 | #if defined(CONFIG_X86_LOCAL_APIC) && !defined(CONFIG_X86_MPPARSE) | ||
1793 | /* mptable code is not built-in*/ | ||
1794 | if (acpi_disabled || acpi_noirq) { | ||
1795 | printk(KERN_WARNING "MPS support code is not built-in.\n" | ||
1796 | "Using acpi=off or acpi=noirq or pci=noacpi " | ||
1797 | "may have problem\n"); | ||
1798 | return 1; | ||
1799 | } | ||
1800 | #endif | ||
1801 | return 0; | ||
1802 | } | ||
1803 | |||
1790 | #ifdef CONFIG_X86_IO_APIC | 1804 | #ifdef CONFIG_X86_IO_APIC |
1791 | static int __init parse_acpi_skip_timer_override(char *arg) | 1805 | static int __init parse_acpi_skip_timer_override(char *arg) |
1792 | { | 1806 | { |