Skip to content

Commit

Permalink
ACPI: increase size of acpi_bus_id[]
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Zhao Yakui authored and Len Brown committed Jun 13, 2009
1 parent d023e49 commit 24c5c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/acpi/acpi_bus.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 24c5c4c

Please sign in to comment.