git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
drivers
/
acpi
/
executer
/
exresop.c
diff --git
a/drivers/acpi/executer/exresop.c
b/drivers/acpi/executer/exresop.c
index
a1c000f
..
4c93d09
100644
(file)
--- a/
drivers/acpi/executer/exresop.c
+++ b/
drivers/acpi/executer/exresop.c
@@
-77,6
+77,7
@@
acpi_ex_check_object_type(acpi_object_type type_needed,
ACPI_FUNCTION_ENTRY();
if (type_needed == ACPI_TYPE_ANY) {
ACPI_FUNCTION_ENTRY();
if (type_needed == ACPI_TYPE_ANY) {
+
/* All types OK, so we don't perform any typechecks */
return (AE_OK);
/* All types OK, so we don't perform any typechecks */
return (AE_OK);
@@
-143,7
+144,7
@@
acpi_ex_resolve_operands(u16 opcode,
acpi_object_type type_needed;
u16 target_op = 0;
acpi_object_type type_needed;
u16 target_op = 0;
- ACPI_FUNCTION_TRACE_U32(
"ex_resolve_operands"
, opcode);
+ ACPI_FUNCTION_TRACE_U32(
ex_resolve_operands
, opcode);
op_info = acpi_ps_get_opcode_info(opcode);
if (op_info->class == AML_CLASS_UNKNOWN) {
op_info = acpi_ps_get_opcode_info(opcode);
if (op_info->class == AML_CLASS_UNKNOWN) {
@@
-158,7
+159,7
@@
acpi_ex_resolve_operands(u16 opcode,
}
ACPI_DEBUG_PRINT((ACPI_DB_EXEC,
}
ACPI_DEBUG_PRINT((ACPI_DB_EXEC,
- "Opcode %X [%s]
required_operand_t
ypes=%8.8X\n",
+ "Opcode %X [%s]
RequiredOperandT
ypes=%8.8X\n",
opcode, op_info->name, arg_types));
/*
opcode, op_info->name, arg_types));
/*
@@
-224,6
+225,7
@@
acpi_ex_resolve_operands(u16 opcode,
}
if (object_type == (u8) ACPI_TYPE_LOCAL_REFERENCE) {
}
if (object_type == (u8) ACPI_TYPE_LOCAL_REFERENCE) {
+
/* Decode the Reference */
op_info = acpi_ps_get_opcode_info(opcode);
/* Decode the Reference */
op_info = acpi_ps_get_opcode_info(opcode);
@@
-247,7
+249,7
@@
acpi_ex_resolve_operands(u16 opcode,
ACPI_DEBUG_ONLY_MEMBERS(ACPI_DEBUG_PRINT
((ACPI_DB_EXEC,
ACPI_DEBUG_ONLY_MEMBERS(ACPI_DEBUG_PRINT
((ACPI_DB_EXEC,
- "Operand is a Reference,
ref_o
pcode [%s]\n",
+ "Operand is a Reference,
RefO
pcode [%s]\n",
(acpi_ps_get_opcode_info
(obj_desc->
reference.
(acpi_ps_get_opcode_info
(obj_desc->
reference.
@@
-332,6
+334,7
@@
acpi_ex_resolve_operands(u16 opcode,
}
if (obj_desc->reference.opcode == AML_NAME_OP) {
}
if (obj_desc->reference.opcode == AML_NAME_OP) {
+
/* Convert a named reference to the actual named object */
temp_node = obj_desc->reference.object;
/* Convert a named reference to the actual named object */
temp_node = obj_desc->reference.object;
@@
-623,7
+626,7
@@
acpi_ex_resolve_operands(u16 opcode,
default:
ACPI_ERROR((AE_INFO,
default:
ACPI_ERROR((AE_INFO,
- "Needed [Region/
region_f
ield], found [%s] %p",
+ "Needed [Region/
RegionF
ield], found [%s] %p",
acpi_ut_get_object_type_name
(obj_desc), obj_desc));
acpi_ut_get_object_type_name
(obj_desc), obj_desc));
@@
-662,6
+665,7
@@
acpi_ex_resolve_operands(u16 opcode,
}
if (target_op == AML_DEBUG_OP) {
}
if (target_op == AML_DEBUG_OP) {
+
/* Allow store of any object to the Debug object */
break;
/* Allow store of any object to the Debug object */
break;