summaryrefslogtreecommitdiff
path: root/usr/src/uts/intel/io/acpica/utilities/utobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/intel/io/acpica/utilities/utobject.c')
-rw-r--r--usr/src/uts/intel/io/acpica/utilities/utobject.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr/src/uts/intel/io/acpica/utilities/utobject.c b/usr/src/uts/intel/io/acpica/utilities/utobject.c
index 916e7f6f03..e38d2b2879 100644
--- a/usr/src/uts/intel/io/acpica/utilities/utobject.c
+++ b/usr/src/uts/intel/io/acpica/utilities/utobject.c
@@ -1,7 +1,6 @@
/******************************************************************************
*
* Module Name: utobject - ACPI object create/delete/size/cache routines
- * $Revision: 1.108 $
*
*****************************************************************************/
@@ -9,7 +8,7 @@
*
* 1. Copyright Notice
*
- * Some or all of this work - Copyright (c) 1999 - 2008, Intel Corp.
+ * Some or all of this work - Copyright (c) 1999 - 2009, Intel Corp.
* All rights reserved.
*
* 2. License
@@ -117,6 +116,7 @@
#define __UTOBJECT_C__
#include "acpi.h"
+#include "accommon.h"
#include "acnamesp.h"
@@ -419,7 +419,7 @@ AcpiUtValidInternalObject (
if (!Object)
{
- ACPI_DEBUG_PRINT ((ACPI_DB_INFO, "**** Null Object Ptr\n"));
+ ACPI_DEBUG_PRINT ((ACPI_DB_EXEC, "**** Null Object Ptr\n"));
return (FALSE);
}
@@ -434,7 +434,7 @@ AcpiUtValidInternalObject (
return (TRUE);
default:
- ACPI_DEBUG_PRINT ((ACPI_DB_INFO,
+ ACPI_DEBUG_PRINT ((ACPI_DB_EXEC,
"%p is not not an ACPI operand obj [%s]\n",
Object, AcpiUtGetDescriptorName (Object)));
break;
@@ -586,7 +586,7 @@ AcpiUtGetSimpleObjectSize (
* must be accessed bytewise or there may be alignment problems on
* certain processors
*/
- switch (ACPI_GET_OBJECT_TYPE (InternalObject))
+ switch (InternalObject->Common.Type)
{
case ACPI_TYPE_STRING:
@@ -650,7 +650,7 @@ AcpiUtGetSimpleObjectSize (
ACPI_ERROR ((AE_INFO, "Cannot convert to external object - "
"unsupported type [%s] %X in object %p",
AcpiUtGetObjectTypeName (InternalObject),
- ACPI_GET_OBJECT_TYPE (InternalObject), InternalObject));
+ InternalObject->Common.Type, InternalObject));
Status = AE_TYPE;
break;
}
@@ -809,7 +809,7 @@ AcpiUtGetObjectSize (
if ((ACPI_GET_DESCRIPTOR_TYPE (InternalObject) == ACPI_DESC_TYPE_OPERAND) &&
- (ACPI_GET_OBJECT_TYPE (InternalObject) == ACPI_TYPE_PACKAGE))
+ (InternalObject->Common.Type == ACPI_TYPE_PACKAGE))
{
Status = AcpiUtGetPackageObjectSize (InternalObject, ObjLength);
}