aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/tables/tbfadt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/acpi/tables/tbfadt.c b/drivers/acpi/tables/tbfadt.c
index 273b5fddb1ff..a6723a2215c2 100644
--- a/drivers/acpi/tables/tbfadt.c
+++ b/drivers/acpi/tables/tbfadt.c
@@ -333,6 +333,8 @@ static void acpi_tb_convert_fadt(void)
333 pm1_register_length, 333 pm1_register_length,
334 (acpi_gbl_FADT.xpm1a_event_block.address + 334 (acpi_gbl_FADT.xpm1a_event_block.address +
335 pm1_register_length)); 335 pm1_register_length));
336 /* Don't forget to copy space_id of the GAS */
337 acpi_gbl_xpm1a_enable.space_id = acpi_gbl_FADT.xpm1a_event_block.space_id;
336 338
337 /* The PM1B register block is optional, ignore if not present */ 339 /* The PM1B register block is optional, ignore if not present */
338 340
@@ -341,6 +343,9 @@ static void acpi_tb_convert_fadt(void)
341 pm1_register_length, 343 pm1_register_length,
342 (acpi_gbl_FADT.xpm1b_event_block. 344 (acpi_gbl_FADT.xpm1b_event_block.
343 address + pm1_register_length)); 345 address + pm1_register_length));
346 /* Don't forget to copy space_id of the GAS */
347 acpi_gbl_xpm1b_enable.space_id = acpi_gbl_FADT.xpm1a_event_block.space_id;
348
344 } 349 }
345} 350}
346 351