diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2009-05-21 16:25:35 +0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-06-12 20:50:37 -0400 |
commit | 24c5c4c2f506bf87ef2343669fb892c944c3fdde (patch) | |
tree | 4a8fb03d51487c486e2848139672a113c0064a4d /include/acpi | |
parent | d023e49118b9c93bbab9aaf798b25f78f1a5803c (diff) | |
download | op-kernel-dev-24c5c4c2f506bf87ef2343669fb892c944c3fdde.zip op-kernel-dev-24c5c4c2f506bf87ef2343669fb892c944c3fdde.tar.gz |
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>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/acpi_bus.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/acpi/acpi_bus.h b/include/acpi/acpi_bus.h index c34b110..0be2410 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h @@ -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]; |