ACPICA: Expand device initialization counters to 32 bits
authorBob Moore <robert.moore@intel.com>
Wed, 26 May 2010 03:48:22 +0000 (11:48 +0800)
committerLen Brown <len.brown@intel.com>
Wed, 7 Jul 2010 02:33:56 +0000 (22:33 -0400)
Expand the various device initialization counters from 16-bit
to 32-bit.  Allows for very large namespaces.

Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/acpica/acstruct.h
drivers/acpi/acpica/nsinit.c

index 0e2c66a..6e5dd97 100644 (file)
@@ -201,11 +201,11 @@ struct acpi_evaluate_info {
 /* Info used by acpi_ns_initialize_devices */
 
 struct acpi_device_walk_info {
-       u16 device_count;
-       u16 num_STA;
-       u16 num_INI;
        struct acpi_table_desc *table_desc;
        struct acpi_evaluate_info *evaluate_info;
+       u32 device_count;
+       u32 num_STA;
+       u32 num_INI;
 };
 
 /* TBD: [Restructure] Merge with struct above */
index 8814582..f0e49df 100644 (file)
@@ -208,8 +208,8 @@ acpi_status acpi_ns_initialize_devices(void)
        }
 
        ACPI_DEBUG_PRINT_RAW((ACPI_DB_INIT,
-                             "\nExecuted %hd _INI methods requiring %hd _STA executions "
-                             "(examined %hd objects)\n",
+                             "\nExecuted %u _INI methods requiring %u _STA executions "
+                             "(examined %u objects)\n",
                              info.num_INI, info.num_STA, info.device_count));
 
        return_ACPI_STATUS(status);