aboutsummaryrefslogtreecommitdiff
path: root/sys
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
commit6023610d63bfb60ea572521a27c012e23676dc02 (patch)
tree62fefe96f6d9b467ac7cee7e3a26bc791fe599ae /sys
parentc9968355e532ed56cf01098985ed3c8cf0a26c5a (diff)
parent480265512451fb65dfea0add90098a406b5d8851 (diff)
downloadsrc-6023610d63bfb60ea572521a27c012e23676dc02.tar.gz
src-6023610d63bfb60ea572521a27c012e23676dc02.zip
This commit was generated by cvs2svn to compensate for changes in r140094,
which included commits to RCS files with non-trunk default branches.
Notes
Notes: svn path=/head/; revision=140095
Diffstat (limited to 'sys')
-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