Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7d970f6 authored by Bob Moore's avatar Bob Moore Committed by Rafael J. Wysocki
Browse files

ACPICA: Rename a global for clarity, no functional change



Was acpi_gbl_parse_table_as_term_list, changed to:
acpi_gbl_execute_tables_as_methods.

Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarErik Schmauss <erik.schmauss@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 0fe0bebf
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -562,7 +562,7 @@ acpi_status acpi_ev_initialize_region(union acpi_operand_object *region_obj)
				 *
				 *
				 * See acpi_ns_exec_module_code
				 * See acpi_ns_exec_module_code
				 */
				 */
				if (!acpi_gbl_parse_table_as_term_list &&
				if (!acpi_gbl_execute_tables_as_methods &&
				    obj_desc->method.
				    obj_desc->method.
				    info_flags & ACPI_METHOD_MODULE_LEVEL) {
				    info_flags & ACPI_METHOD_MODULE_LEVEL) {
					handler_obj =
					handler_obj =
+1 −1
Original line number Original line Diff line number Diff line
@@ -157,7 +157,7 @@ acpi_ns_load_table(u32 table_index, struct acpi_namespace_node *node)
	 * other ACPI implementations. Optionally, the execution can be deferred
	 * other ACPI implementations. Optionally, the execution can be deferred
	 * until later, see acpi_initialize_objects.
	 * until later, see acpi_initialize_objects.
	 */
	 */
	if (!acpi_gbl_parse_table_as_term_list
	if (!acpi_gbl_execute_tables_as_methods
	    && !acpi_gbl_group_module_level_code) {
	    && !acpi_gbl_group_module_level_code) {
		acpi_ns_exec_module_code_list();
		acpi_ns_exec_module_code_list();
	}
	}
+1 −1
Original line number Original line Diff line number Diff line
@@ -266,7 +266,7 @@ 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);


	if (acpi_gbl_parse_table_as_term_list) {
	if (acpi_gbl_execute_tables_as_methods) {
		ACPI_DEBUG_PRINT_RAW((ACPI_DB_PARSE,
		ACPI_DEBUG_PRINT_RAW((ACPI_DB_PARSE,
				      "%s: **** Start table execution pass\n",
				      "%s: **** Start table execution pass\n",
				      ACPI_GET_FUNCTION_NAME));
				      ACPI_GET_FUNCTION_NAME));
+1 −1
Original line number Original line Diff line number Diff line
@@ -968,7 +968,7 @@ acpi_tb_load_table(u32 table_index, struct acpi_namespace_node *parent_node)


	/* Execute any module-level code that was found in the table */
	/* Execute any module-level code that was found in the table */


	if (!acpi_gbl_parse_table_as_term_list
	if (!acpi_gbl_execute_tables_as_methods
	    && acpi_gbl_group_module_level_code) {
	    && acpi_gbl_group_module_level_code) {
		acpi_ns_exec_module_code_list();
		acpi_ns_exec_module_code_list();
	}
	}
+1 −1
Original line number Original line Diff line number Diff line
@@ -103,7 +103,7 @@ acpi_status ACPI_INIT_FUNCTION acpi_load_tables(void)
				"While loading namespace from ACPI tables"));
				"While loading namespace from ACPI tables"));
	}
	}


	if (acpi_gbl_parse_table_as_term_list
	if (acpi_gbl_execute_tables_as_methods
	    || !acpi_gbl_group_module_level_code) {
	    || !acpi_gbl_group_module_level_code) {
		/*
		/*
		 * Initialize the objects that remain uninitialized. This
		 * Initialize the objects that remain uninitialized. This
Loading