summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate Lawson <njl@FreeBSD.org>2005-01-12 00:52:40 +0000
committerNate Lawson <njl@FreeBSD.org>2005-01-12 00:52:40 +0000
commit480265512451fb65dfea0add90098a406b5d8851 (patch)
tree0a73964e431836d3d9993ab0e67032711b7758eb
parent697831d61116d66902437dcc3a5270afc616b99a (diff)
Notes
-rw-r--r--sys/contrib/dev/acpica/dsutils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/contrib/dev/acpica/dsutils.c b/sys/contrib/dev/acpica/dsutils.c
index f20fb39937bc..13976b71eef3 100644
--- a/sys/contrib/dev/acpica/dsutils.c
+++ b/sys/contrib/dev/acpica/dsutils.c
@@ -167,7 +167,8 @@ AcpiDsIsResultUsed (
* An executing method typically has no parent, since each method
* is parsed separately.
*/
- if (!Op->Common.Parent)
+ if (!Op->Common.Parent ||
+ Op->Common.Parent->Common.AmlOpcode == AML_SCOPE_OP)
{
/*
* If this is the last statement in the method, we know it is not a