diff options
| -rw-r--r-- | drivers/acpi/tables/tbfadt.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/acpi/tables/tbfadt.c b/drivers/acpi/tables/tbfadt.c index 807c7116e94b..1db833eb2417 100644 --- a/drivers/acpi/tables/tbfadt.c +++ b/drivers/acpi/tables/tbfadt.c | |||
| @@ -347,6 +347,18 @@ static void acpi_tb_convert_fadt(void) | |||
| 347 | acpi_gbl_xpm1b_enable.space_id = acpi_gbl_FADT.xpm1a_event_block.space_id; | 347 | acpi_gbl_xpm1b_enable.space_id = acpi_gbl_FADT.xpm1a_event_block.space_id; |
| 348 | 348 | ||
| 349 | } | 349 | } |
| 350 | |||
| 351 | /* | ||
| 352 | * For ACPI 1.0 FADTs, ensure that reserved fields (which should be zero) | ||
| 353 | * are indeed zero. This will workaround BIOSs that inadvertently placed | ||
| 354 | * values in these fields. | ||
| 355 | */ | ||
| 356 | if (acpi_gbl_FADT.header.revision < 3) { | ||
| 357 | acpi_gbl_FADT.preferred_profile = 0; | ||
| 358 | acpi_gbl_FADT.pstate_control = 0; | ||
| 359 | acpi_gbl_FADT.cst_control = 0; | ||
| 360 | acpi_gbl_FADT.boot_flags = 0; | ||
| 361 | } | ||
| 350 | } | 362 | } |
| 351 | 363 | ||
| 352 | /****************************************************************************** | 364 | /****************************************************************************** |
