ACPI: increase size of acpi_bus_id[]
authorZhao Yakui <yakui.zhao@intel.com>
Thu, 21 May 2009 08:25:35 +0000 (16:25 +0800)
committerLen Brown <len.brown@intel.com>
Sat, 13 Jun 2009 00:50:37 +0000 (20:50 -0400)
Previously [5], now [8].

sprintf(acpi_device_bid(device), "CPU%X", cpu_id)
now looks better on systems with more than 0xFF processors.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
include/acpi/acpi_bus.h

index c34b11022908a01c521367ddf85249fcacb98ffe..0be24101a48fcc036776307d384cc92fc9fe4d2b 100644 (file)
@@ -168,7 +168,7 @@ struct acpi_device_dir {
 
 /* Plug and Play */
 
-typedef char acpi_bus_id[5];
+typedef char acpi_bus_id[8];
 typedef unsigned long acpi_bus_address;
 typedef char acpi_hardware_id[15];
 typedef char acpi_unique_id[9];