Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 206749
b: refs/heads/master
c: 96b7b7a
h: refs/heads/master
i:
  206747: c581400
v: v3
  • Loading branch information
Alexey Starikovskiy authored and Len Brown committed Jul 7, 2010
1 parent 74efd12 commit e249745
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 507f7d5e27015be1e5dda5c56bb5e10315b76f71
refs/heads/master: 96b7b7ad79e4bd8a0ae67dd201f7532ef4abf1c1
26 changes: 13 additions & 13 deletions trunk/drivers/acpi/acpica/acstruct.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,22 +127,22 @@ struct acpi_walk_state {
acpi_parse_upwards ascending_callback;
};

/* Info used by acpi_ps_init_objects */
/* Info used by acpi_ns_initialize_objects and acpi_ds_initialize_objects */

struct acpi_init_walk_info {
u16 method_count;
u16 device_count;
u16 op_region_count;
u16 field_count;
u16 buffer_count;
u16 package_count;
u16 op_region_init;
u16 field_init;
u16 buffer_init;
u16 package_init;
u16 object_count;
acpi_owner_id owner_id;
u32 table_index;
u32 object_count;
u32 method_count;
u32 device_count;
u32 op_region_count;
u32 field_count;
u32 buffer_count;
u32 package_count;
u32 op_region_init;
u32 field_init;
u32 buffer_init;
u32 package_init;
acpi_owner_id owner_id;
};

struct acpi_get_devices_info {
Expand Down
14 changes: 7 additions & 7 deletions trunk/drivers/acpi/acpica/dsinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,12 @@ acpi_ds_initialize_objects(u32 table_index,
"**** Starting initialization of namespace objects ****\n"));
ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT, "Parsing all Control Methods:"));

info.method_count = 0;
info.op_region_count = 0;
info.object_count = 0;
info.device_count = 0;
info.table_index = table_index;
/* Set all init info to zero */

ACPI_MEMSET(&info, 0, sizeof(struct acpi_init_walk_info));

info.owner_id = owner_id;
info.table_index = table_index;

/* Walk entire namespace from the supplied root */

Expand Down Expand Up @@ -204,13 +204,13 @@ acpi_ds_initialize_objects(u32 table_index,
}

ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT,
"\nTable [%4.4s](id %4.4X) - %hd Objects with %hd Devices %hd Methods %hd Regions\n",
"\nTable [%4.4s](id %4.4X) - %u Objects with %u Devices %u Methods %u Regions\n",
table->signature, owner_id, info.object_count,
info.device_count, info.method_count,
info.op_region_count));

ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH,
"%hd Methods, %hd Regions\n", info.method_count,
"%u Methods, %u Regions\n", info.method_count,
info.op_region_count));

return_ACPI_STATUS(AE_OK);
Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/acpi/acpica/nsinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,18 +103,18 @@ acpi_status acpi_ns_initialize_objects(void)
}

ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT,
"\nInitialized %hd/%hd Regions %hd/%hd Fields %hd/%hd "
"Buffers %hd/%hd Packages (%hd nodes)\n",
"\nInitialized %u/%u Regions %u/%u Fields %u/%u "
"Buffers %u/%u Packages (%u nodes)\n",
info.op_region_init, info.op_region_count,
info.field_init, info.field_count,
info.buffer_init, info.buffer_count,
info.package_init, info.package_count,
info.object_count));

ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH,
"%hd Control Methods found\n", info.method_count));
"%u Control Methods found\n", info.method_count));
ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH,
"%hd Op Regions found\n", info.op_region_count));
"%u Op Regions found\n", info.op_region_count));

return_ACPI_STATUS(AE_OK);
}
Expand Down

0 comments on commit e249745

Please sign in to comment.