aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/tables
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/tables')
-rw-r--r--drivers/acpi/tables/tbutils.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/acpi/tables/tbutils.c b/drivers/acpi/tables/tbutils.c
index 0cc92ef5236f..50e677711e5b 100644
--- a/drivers/acpi/tables/tbutils.c
+++ b/drivers/acpi/tables/tbutils.c
@@ -113,6 +113,30 @@ acpi_tb_check_xsdt(acpi_physical_address address)
113 113
114/******************************************************************************* 114/*******************************************************************************
115 * 115 *
116 * FUNCTION: acpi_tb_initialize_facs
117 *
118 * PARAMETERS: None
119 *
120 * RETURN: Status
121 *
122 * DESCRIPTION: Create a permanent mapping for the FADT and save it in a global
123 * for accessing the Global Lock and Firmware Waking Vector
124 *
125 ******************************************************************************/
126
127acpi_status acpi_tb_initialize_facs(void)
128{
129 acpi_status status;
130
131 status = acpi_get_table_by_index(ACPI_TABLE_INDEX_FACS,
132 ACPI_CAST_INDIRECT_PTR(struct
133 acpi_table_header,
134 &acpi_gbl_FACS));
135 return status;
136}
137
138/*******************************************************************************
139 *
116 * FUNCTION: acpi_tb_tables_loaded 140 * FUNCTION: acpi_tb_tables_loaded
117 * 141 *
118 * PARAMETERS: None 142 * PARAMETERS: None