diff options
| author | Mitsuru IWASAKI <iwasaki@FreeBSD.org> | 2002-06-30 17:50:46 +0000 |
|---|---|---|
| committer | Mitsuru IWASAKI <iwasaki@FreeBSD.org> | 2002-06-30 17:50:46 +0000 |
| commit | 733e46c4742da55eedf74f17a009720aba269fba (patch) | |
| tree | a5ae68d196b463986f48702ed26361200bef1861 /sys/contrib/dev/acpica/dsutils.c | |
| parent | c948c0582cace4ca0a573b94abcbccadcf040131 (diff) | |
| parent | 3f12fee6bc6478d15b9d7d5228e3d71e1c6e9af4 (diff) | |
Notes
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 91645735189d..fa7b43fb0ff8 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; } |
