summaryrefslogtreecommitdiffstats
path: root/sys/contrib/dev/acpica/excreate.c
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2003-12-09 02:45:16 +0000
committernjl <njl@FreeBSD.org>2003-12-09 02:45:16 +0000
commit2a9caa496cc3521e5c9352c255b827c90efb3839 (patch)
tree24e5ad5d8b4fb5681ddaa34c6ae30814c80ffe56 /sys/contrib/dev/acpica/excreate.c
parentdc49a5b908c59c6ae7c8b069908225dd6c21c041 (diff)
downloadFreeBSD-src-2a9caa496cc3521e5c9352c255b827c90efb3839.zip
FreeBSD-src-2a9caa496cc3521e5c9352c255b827c90efb3839.tar.gz
Import ACPI-CA 20031203
Diffstat (limited to 'sys/contrib/dev/acpica/excreate.c')
-rw-r--r--sys/contrib/dev/acpica/excreate.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/contrib/dev/acpica/excreate.c b/sys/contrib/dev/acpica/excreate.c
index f5bc176..53613ff 100644
--- a/sys/contrib/dev/acpica/excreate.c
+++ b/sys/contrib/dev/acpica/excreate.c
@@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: excreate - Named object creation
- * $Revision: 99 $
+ * $Revision: 100 $
*
*****************************************************************************/
@@ -367,7 +367,7 @@ AcpiExCreateRegion (
ACPI_FUNCTION_TRACE ("ExCreateRegion");
- /* Get the Node from the object stack */
+ /* Get the Namespace Node */
Node = WalkState->Op->Common.Node;
@@ -394,7 +394,6 @@ AcpiExCreateRegion (
ACPI_DEBUG_PRINT ((ACPI_DB_LOAD, "Region Type - %s (%X)\n",
AcpiUtGetRegionName (RegionSpace), RegionSpace));
-
/* Create the region descriptor */
ObjDesc = AcpiUtCreateInternalObject (ACPI_TYPE_REGION);
@@ -459,6 +458,7 @@ AcpiExCreateTableRegion (
ACPI_FUNCTION_TRACE ("ExCreateTableRegion");
+
/* Get the Node from the object stack */
Node = WalkState->Op->Common.Node;
@@ -477,7 +477,6 @@ AcpiExCreateTableRegion (
Status = AcpiTbFindTable (Operand[1]->String.Pointer,
Operand[2]->String.Pointer,
Operand[3]->String.Pointer, &Table);
-
if (ACPI_FAILURE (Status))
{
return_ACPI_STATUS (Status);
@@ -581,7 +580,6 @@ AcpiExCreateProcessor (
Status = AcpiNsAttachObject ((ACPI_NAMESPACE_NODE *) Operand[0],
ObjDesc, ACPI_TYPE_PROCESSOR);
-
/* Remove local reference to the object */
AcpiUtRemoveReference (ObjDesc);
@@ -633,7 +631,6 @@ AcpiExCreatePowerResource (
Status = AcpiNsAttachObject ((ACPI_NAMESPACE_NODE *) Operand[0],
ObjDesc, ACPI_TYPE_POWER);
-
/* Remove local reference to the object */
AcpiUtRemoveReference (ObjDesc);
@@ -704,7 +701,6 @@ AcpiExCreateMethod (
ObjDesc->Method.Concurrency = (UINT8)
(((MethodFlags & METHOD_FLAGS_SYNCH_LEVEL) >> 4) + 1);
}
-
else
{
ObjDesc->Method.Concurrency = INFINITE_CONCURRENCY;
OpenPOWER on IntegriCloud