]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IA64] Avoid overflowing ia64_cpu_to_sapicid in acpi_map_lsapic()
authorAlex Chiang <achiang@hp.com>
Wed, 16 Jul 2008 18:47:08 +0000 (12:47 -0600)
committerTony Luck <tony.luck@intel.com>
Thu, 17 Jul 2008 18:24:42 +0000 (11:24 -0700)
commitefc7508c9e29944fb3d9edf166d3d584557c33d1
tree0c261d41e19dad6c56b7511f9ab8b4a0e5f38415
parent740a8de0796dd12890b3c8ddcfabfcb528b78d40
[IA64] Avoid overflowing ia64_cpu_to_sapicid in acpi_map_lsapic()

acpi_map_lsapic tries to stuff a long into ia64_cpu_to_sapicid[],
which can only hold ints, so let's fix that.

We need to update the signature of acpi_map_cpu2node() too.

Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/acpi.c