aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/acpi/boot.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index 8c9c2bdba092..c9a06e573fa5 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -913,6 +913,11 @@ late_initcall(hpet_insert_resource);
913 913
914static int __init acpi_parse_fadt(struct acpi_table_header *table) 914static int __init acpi_parse_fadt(struct acpi_table_header *table)
915{ 915{
916 if (!(acpi_gbl_FADT.boot_flags & ACPI_FADT_LEGACY_DEVICES)) {
917 pr_debug("ACPI: no legacy devices present\n");
918 x86_platform.legacy.devices.pnpbios = 0;
919 }
920
916 if (acpi_gbl_FADT.boot_flags & ACPI_FADT_NO_CMOS_RTC) { 921 if (acpi_gbl_FADT.boot_flags & ACPI_FADT_NO_CMOS_RTC) {
917 pr_debug("ACPI: not registering RTC platform device\n"); 922 pr_debug("ACPI: not registering RTC platform device\n");
918 x86_platform.legacy.rtc = 0; 923 x86_platform.legacy.rtc = 0;