Commit 5821f754 authored by Bob Moore's avatar Bob Moore Committed by Len Brown

ACPICA: Expand device initialization counters to 32 bits

Expand the various device initialization counters from 16-bit
to 32-bit.  Allows for very large namespaces.
Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarLin Ming <ming.m.lin@intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent b27d6597
...@@ -201,11 +201,11 @@ struct acpi_evaluate_info { ...@@ -201,11 +201,11 @@ struct acpi_evaluate_info {
/* Info used by acpi_ns_initialize_devices */ /* Info used by acpi_ns_initialize_devices */
struct acpi_device_walk_info { struct acpi_device_walk_info {
u16 device_count;
u16 num_STA;
u16 num_INI;
struct acpi_table_desc *table_desc; struct acpi_table_desc *table_desc;
struct acpi_evaluate_info *evaluate_info; struct acpi_evaluate_info *evaluate_info;
u32 device_count;
u32 num_STA;
u32 num_INI;
}; };
/* TBD: [Restructure] Merge with struct above */ /* TBD: [Restructure] Merge with struct above */
......
...@@ -208,8 +208,8 @@ acpi_status acpi_ns_initialize_devices(void) ...@@ -208,8 +208,8 @@ acpi_status acpi_ns_initialize_devices(void)
} }
ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT, ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT,
"\nExecuted %hd _INI methods requiring %hd _STA executions " "\nExecuted %u _INI methods requiring %u _STA executions "
"(examined %hd objects)\n", "(examined %u objects)\n",
info.num_INI, info.num_STA, info.device_count)); info.num_INI, info.num_STA, info.device_count));
return_ACPI_STATUS(status); return_ACPI_STATUS(status);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment