diff options
Diffstat (limited to 'executer/exoparg3.c')
| -rw-r--r-- | executer/exoparg3.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/executer/exoparg3.c b/executer/exoparg3.c index a38e00b5b6da..591d6aceb121 100644 --- a/executer/exoparg3.c +++ b/executer/exoparg3.c @@ -2,7 +2,6 @@ /****************************************************************************** * * Module Name: exoparg3 - AML execution - opcodes with 3 arguments - * $Revision: 1.35 $ * *****************************************************************************/ @@ -10,7 +9,7 @@ * * 1. Copyright Notice * - * Some or all of this work - Copyright (c) 1999 - 2007, Intel Corp. + * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp. * All rights reserved. * * 2. License @@ -119,6 +118,7 @@ #define __EXOPARG3_C__ #include "acpi.h" +#include "accommon.h" #include "acinterp.h" #include "acparser.h" #include "amlcode.h" @@ -256,7 +256,7 @@ AcpiExOpcode_3A_1T_1R ( * either a String or a Buffer, so just use its type. */ ReturnDesc = AcpiUtCreateInternalObject ( - ACPI_GET_OBJECT_TYPE (Operand[0])); + (Operand[0])->Common.Type); if (!ReturnDesc) { Status = AE_NO_MEMORY; @@ -287,7 +287,7 @@ AcpiExOpcode_3A_1T_1R ( /* Strings always have a sub-pointer, not so for buffers */ - switch (ACPI_GET_OBJECT_TYPE (Operand[0])) + switch ((Operand[0])->Common.Type) { case ACPI_TYPE_STRING: |
