summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/pstree.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/contrib/dev/acpica/pstree.c')
-rw-r--r--sys/contrib/dev/acpica/pstree.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/contrib/dev/acpica/pstree.c b/sys/contrib/dev/acpica/pstree.c
index a0e8c28..c7580c9 100644
--- a/sys/contrib/dev/acpica/pstree.c
+++ b/sys/contrib/dev/acpica/pstree.c
@@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: pstree - Parser op tree manipulation/traversal/search
- * $Revision: 33 $
+ * $Revision: 35 $
*
*****************************************************************************/
@@ -153,7 +153,7 @@ AcpiPsGetArg (
/* Get the info structure for this opcode */
OpInfo = AcpiPsGetOpcodeInfo (Op->Opcode);
- if (ACPI_GET_OP_TYPE (OpInfo) != ACPI_OP_TYPE_OPCODE)
+ if (OpInfo->Class == AML_CLASS_UNKNOWN)
{
/* Invalid opcode or ASCII character */
@@ -162,7 +162,7 @@ AcpiPsGetArg (
/* Check if this opcode requires argument sub-objects */
- if (!(ACPI_GET_OP_ARGS (OpInfo)))
+ if (!(OpInfo->Flags & AML_HAS_ARGS))
{
/* Has no linked argument objects */
@@ -215,7 +215,7 @@ AcpiPsAppendArg (
/* Get the info structure for this opcode */
OpInfo = AcpiPsGetOpcodeInfo (Op->Opcode);
- if (ACPI_GET_OP_TYPE (OpInfo) != ACPI_OP_TYPE_OPCODE)
+ if (OpInfo->Class == AML_CLASS_UNKNOWN)
{
/* Invalid opcode */
@@ -225,7 +225,7 @@ AcpiPsAppendArg (
/* Check if this opcode requires argument sub-objects */
- if (!(ACPI_GET_OP_ARGS (OpInfo)))
+ if (!(OpInfo->Flags & AML_HAS_ARGS))
{
/* Has no linked argument objects */
OpenPOWER on IntegriCloud