diff options
Diffstat (limited to 'sys/contrib/dev/acpica/dsutils.c')
-rw-r--r-- | sys/contrib/dev/acpica/dsutils.c | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/sys/contrib/dev/acpica/dsutils.c b/sys/contrib/dev/acpica/dsutils.c index 9164573..fa7b43f 100644 --- a/sys/contrib/dev/acpica/dsutils.c +++ b/sys/contrib/dev/acpica/dsutils.c @@ -1,7 +1,7 @@ /******************************************************************************* * * Module Name: dsutils - Dispatcher utilities - * $Revision: 88 $ + * $Revision: 89 $ * ******************************************************************************/ @@ -231,7 +231,11 @@ AcpiDsIsResultUsed ( case AML_CLASS_NAMED_OBJECT: if ((Op->Parent->Opcode == AML_REGION_OP) || - (Op->Parent->Opcode == AML_DATA_REGION_OP)) + (Op->Parent->Opcode == AML_DATA_REGION_OP) || + (Op->Parent->Opcode == AML_PACKAGE_OP) || + (Op->Parent->Opcode == AML_VAR_PACKAGE_OP) || + (Op->Parent->Opcode == AML_BUFFER_OP) || + (Op->Parent->Opcode == AML_INT_EVAL_SUBTREE_OP)) { /* * These opcodes allow TermArg(s) as operands and therefore @@ -243,11 +247,12 @@ AcpiDsIsResultUsed ( goto ResultNotUsed; - /* - * In all other cases. the parent will actually use the return - * object, so keep it. - */ default: + + /* + * In all other cases. the parent will actually use the return + * object, so keep it. + */ goto ResultUsed; } |