ACPI: increase size of acpi_bus_id[]
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>
This commit is contained in:
@@ -168,7 +168,7 @@ struct acpi_device_dir {
|
|||||||
|
|
||||||
/* Plug and Play */
|
/* Plug and Play */
|
||||||
|
|
||||||
typedef char acpi_bus_id[5];
|
typedef char acpi_bus_id[8];
|
||||||
typedef unsigned long acpi_bus_address;
|
typedef unsigned long acpi_bus_address;
|
||||||
typedef char acpi_hardware_id[15];
|
typedef char acpi_hardware_id[15];
|
||||||
typedef char acpi_unique_id[9];
|
typedef char acpi_unique_id[9];
|
||||||
|
Reference in New Issue
Block a user