patch-2.4.10 linux/drivers/acpi/executer/exxface.c
Next file: linux/drivers/acpi/hardware/hwacpi.c
Previous file: linux/drivers/acpi/executer/exutils.c
Back to the patch index
Back to the overall index
- Lines: 59
- Date:
Sun Sep 23 09:42:32 2001
- Orig file:
v2.4.9/linux/drivers/acpi/executer/exxface.c
- Orig date:
Tue Jul 3 17:08:19 2001
diff -u --recursive --new-file v2.4.9/linux/drivers/acpi/executer/exxface.c linux/drivers/acpi/executer/exxface.c
@@ -2,7 +2,7 @@
/******************************************************************************
*
* Module Name: exxface - External interpreter interfaces
- * $Revision: 27 $
+ * $Revision: 29 $
*
*****************************************************************************/
@@ -32,6 +32,7 @@
#define _COMPONENT ACPI_EXECUTER
MODULE_NAME ("exxface")
+#if 0
/*
* DEFINE_AML_GLOBALS is tested in amlcode.h
@@ -69,30 +70,33 @@
*
******************************************************************************/
-ACPI_STATUS
+acpi_status
acpi_ex_execute_method (
- ACPI_NAMESPACE_NODE *method_node,
- ACPI_OPERAND_OBJECT **params,
- ACPI_OPERAND_OBJECT **return_obj_desc)
+ acpi_namespace_node *method_node,
+ acpi_operand_object **params,
+ acpi_operand_object **return_obj_desc)
{
- ACPI_STATUS status;
+ acpi_status status;
+
+
+ FUNCTION_TRACE ("Ex_execute_method");
/*
* The point here is to lock the interpreter and call the low
* level execute.
*/
-
status = acpi_ex_enter_interpreter ();
if (ACPI_FAILURE (status)) {
- return (status);
+ return_ACPI_STATUS (status);
}
status = acpi_psx_execute (method_node, params, return_obj_desc);
acpi_ex_exit_interpreter ();
- return (status);
+ return_ACPI_STATUS (status);
}
+#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)