From 6981e211eccd2e4d70ee2590b3342764c4760dbb Mon Sep 17 00:00:00 2001 From: Len Brown Date: Fri, 13 Feb 2004 13:02:56 -0500 Subject: [PATCH] [ACPI] revert previous AML param patch for ACPICA update --- drivers/acpi/dispatcher/dsmthdat.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/acpi/dispatcher/dsmthdat.c b/drivers/acpi/dispatcher/dsmthdat.c index d8bb62179ac82..1238aed959116 100644 --- a/drivers/acpi/dispatcher/dsmthdat.c +++ b/drivers/acpi/dispatcher/dsmthdat.c @@ -203,10 +203,9 @@ acpi_ds_method_data_init_args ( while ((index < ACPI_METHOD_NUM_ARGS) && (index < max_param_count) && params[index]) { /* * A valid parameter. - * Store the argument in the method/walk descriptor. - * Do not copy the arg in order to implement call by reference + * Store the argument in the method/walk descriptor */ - status = acpi_ds_method_data_set_value (AML_ARG_OP, index, params[index], + status = acpi_ds_store_object_to_local (AML_ARG_OP, index, params[index], walk_state); if (ACPI_FAILURE (status)) { return_ACPI_STATUS (status); -- 2.53.0