Loading drivers/acpi/acpica/exconfig.c +2 −0 Original line number Original line Diff line number Diff line Loading @@ -108,7 +108,9 @@ acpi_ex_add_table(u32 table_index, /* Add the table to the namespace */ /* Add the table to the namespace */ acpi_ex_exit_interpreter(); status = acpi_ns_load_table(table_index, parent_node); status = acpi_ns_load_table(table_index, parent_node); acpi_ex_enter_interpreter(); if (ACPI_FAILURE(status)) { if (ACPI_FAILURE(status)) { acpi_ut_remove_reference(obj_desc); acpi_ut_remove_reference(obj_desc); *ddb_handle = NULL; *ddb_handle = NULL; Loading drivers/acpi/acpica/nsparse.c +7 −2 Original line number Original line Diff line number Diff line Loading @@ -47,6 +47,7 @@ #include "acparser.h" #include "acparser.h" #include "acdispat.h" #include "acdispat.h" #include "actables.h" #include "actables.h" #include "acinterp.h" #define _COMPONENT ACPI_NAMESPACE #define _COMPONENT ACPI_NAMESPACE ACPI_MODULE_NAME("nsparse") ACPI_MODULE_NAME("nsparse") Loading Loading @@ -170,6 +171,8 @@ acpi_ns_parse_table(u32 table_index, struct acpi_namespace_node *start_node) ACPI_FUNCTION_TRACE(ns_parse_table); ACPI_FUNCTION_TRACE(ns_parse_table); acpi_ex_enter_interpreter(); /* /* * AML Parse, pass 1 * AML Parse, pass 1 * * Loading @@ -185,7 +188,7 @@ acpi_ns_parse_table(u32 table_index, struct acpi_namespace_node *start_node) status = acpi_ns_one_complete_parse(ACPI_IMODE_LOAD_PASS1, status = acpi_ns_one_complete_parse(ACPI_IMODE_LOAD_PASS1, table_index, start_node); table_index, start_node); if (ACPI_FAILURE(status)) { if (ACPI_FAILURE(status)) { return_ACPI_STATUS(status); goto error_exit; } } /* /* Loading @@ -201,8 +204,10 @@ acpi_ns_parse_table(u32 table_index, struct acpi_namespace_node *start_node) status = acpi_ns_one_complete_parse(ACPI_IMODE_LOAD_PASS2, status = acpi_ns_one_complete_parse(ACPI_IMODE_LOAD_PASS2, table_index, start_node); table_index, start_node); if (ACPI_FAILURE(status)) { if (ACPI_FAILURE(status)) { return_ACPI_STATUS(status); goto error_exit; } } error_exit: acpi_ex_exit_interpreter(); return_ACPI_STATUS(status); return_ACPI_STATUS(status); } } Loading
drivers/acpi/acpica/exconfig.c +2 −0 Original line number Original line Diff line number Diff line Loading @@ -108,7 +108,9 @@ acpi_ex_add_table(u32 table_index, /* Add the table to the namespace */ /* Add the table to the namespace */ acpi_ex_exit_interpreter(); status = acpi_ns_load_table(table_index, parent_node); status = acpi_ns_load_table(table_index, parent_node); acpi_ex_enter_interpreter(); if (ACPI_FAILURE(status)) { if (ACPI_FAILURE(status)) { acpi_ut_remove_reference(obj_desc); acpi_ut_remove_reference(obj_desc); *ddb_handle = NULL; *ddb_handle = NULL; Loading
drivers/acpi/acpica/nsparse.c +7 −2 Original line number Original line Diff line number Diff line Loading @@ -47,6 +47,7 @@ #include "acparser.h" #include "acparser.h" #include "acdispat.h" #include "acdispat.h" #include "actables.h" #include "actables.h" #include "acinterp.h" #define _COMPONENT ACPI_NAMESPACE #define _COMPONENT ACPI_NAMESPACE ACPI_MODULE_NAME("nsparse") ACPI_MODULE_NAME("nsparse") Loading Loading @@ -170,6 +171,8 @@ acpi_ns_parse_table(u32 table_index, struct acpi_namespace_node *start_node) ACPI_FUNCTION_TRACE(ns_parse_table); ACPI_FUNCTION_TRACE(ns_parse_table); acpi_ex_enter_interpreter(); /* /* * AML Parse, pass 1 * AML Parse, pass 1 * * Loading @@ -185,7 +188,7 @@ acpi_ns_parse_table(u32 table_index, struct acpi_namespace_node *start_node) status = acpi_ns_one_complete_parse(ACPI_IMODE_LOAD_PASS1, status = acpi_ns_one_complete_parse(ACPI_IMODE_LOAD_PASS1, table_index, start_node); table_index, start_node); if (ACPI_FAILURE(status)) { if (ACPI_FAILURE(status)) { return_ACPI_STATUS(status); goto error_exit; } } /* /* Loading @@ -201,8 +204,10 @@ acpi_ns_parse_table(u32 table_index, struct acpi_namespace_node *start_node) status = acpi_ns_one_complete_parse(ACPI_IMODE_LOAD_PASS2, status = acpi_ns_one_complete_parse(ACPI_IMODE_LOAD_PASS2, table_index, start_node); table_index, start_node); if (ACPI_FAILURE(status)) { if (ACPI_FAILURE(status)) { return_ACPI_STATUS(status); goto error_exit; } } error_exit: acpi_ex_exit_interpreter(); return_ACPI_STATUS(status); return_ACPI_STATUS(status); } }