diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2009-05-21 04:25:35 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-06-12 20:50:37 -0400 |
commit | 24c5c4c2f506bf87ef2343669fb892c944c3fdde (patch) | |
tree | 4a8fb03d51487c486e2848139672a113c0064a4d /include | |
parent | d023e49118b9c93bbab9aaf798b25f78f1a5803c (diff) |
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')
-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 c34b11022908..0be24101a48f 100644 --- a/include/acpi/acpi_bus.h +++ b/include/acpi/acpi_bus.h | |||
@@ -168,7 +168,7 @@ struct acpi_device_dir { | |||
168 | 168 | ||
169 | /* Plug and Play */ | 169 | /* Plug and Play */ |
170 | 170 | ||
171 | typedef char acpi_bus_id[5]; | 171 | typedef char acpi_bus_id[8]; |
172 | typedef unsigned long acpi_bus_address; | 172 | typedef unsigned long acpi_bus_address; |
173 | typedef char acpi_hardware_id[15]; | 173 | typedef char acpi_hardware_id[15]; |
174 | typedef char acpi_unique_id[9]; | 174 | typedef char acpi_unique_id[9]; |