提交 24c5c4c2 编写于 作者: Z Zhao Yakui 提交者: Len Brown

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: NZhao Yakui <yakui.zhao@intel.com>
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 d023e491
...@@ -168,7 +168,7 @@ struct acpi_device_dir { ...@@ -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];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册