diff options
-rw-r--r-- | drivers/acpi/acpica/tbxface.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/tbxface.c b/drivers/acpi/acpica/tbxface.c index 4ab6b9cd0aec..d5adb7ac4684 100644 --- a/drivers/acpi/acpica/tbxface.c +++ b/drivers/acpi/acpica/tbxface.c | |||
@@ -167,6 +167,7 @@ ACPI_EXPORT_SYMBOL_INIT(acpi_initialize_tables) | |||
167 | acpi_status ACPI_INIT_FUNCTION acpi_reallocate_root_table(void) | 167 | acpi_status ACPI_INIT_FUNCTION acpi_reallocate_root_table(void) |
168 | { | 168 | { |
169 | acpi_status status; | 169 | acpi_status status; |
170 | u32 i; | ||
170 | 171 | ||
171 | ACPI_FUNCTION_TRACE(acpi_reallocate_root_table); | 172 | ACPI_FUNCTION_TRACE(acpi_reallocate_root_table); |
172 | 173 | ||
@@ -178,6 +179,21 @@ acpi_status ACPI_INIT_FUNCTION acpi_reallocate_root_table(void) | |||
178 | return_ACPI_STATUS(AE_SUPPORT); | 179 | return_ACPI_STATUS(AE_SUPPORT); |
179 | } | 180 | } |
180 | 181 | ||
182 | /* | ||
183 | * Ensure OS early boot logic, which is required by some hosts. If the | ||
184 | * table state is reported to be wrong, developers should fix the | ||
185 | * issue by invoking acpi_put_table() for the reported table during the | ||
186 | * early stage. | ||
187 | */ | ||
188 | for (i = 0; i < acpi_gbl_root_table_list.current_table_count; ++i) { | ||
189 | if (acpi_gbl_root_table_list.tables[i].pointer) { | ||
190 | ACPI_ERROR((AE_INFO, | ||
191 | "Table [%4.4s] is not invalidated during early boot stage", | ||
192 | acpi_gbl_root_table_list.tables[i]. | ||
193 | signature.ascii)); | ||
194 | } | ||
195 | } | ||
196 | |||
181 | acpi_gbl_root_table_list.flags |= ACPI_ROOT_ALLOW_RESIZE; | 197 | acpi_gbl_root_table_list.flags |= ACPI_ROOT_ALLOW_RESIZE; |
182 | 198 | ||
183 | status = acpi_tb_resize_root_table_list(); | 199 | status = acpi_tb_resize_root_table_list(); |