]> err.no Git - linux-2.6/commit
[IA64] Provide ACPI fixup for /proc/cpuinfo/physical_id
authorAlex Chiang <achiang@hp.com>
Tue, 29 Apr 2008 22:05:29 +0000 (15:05 -0700)
committerTony Luck <tony.luck@intel.com>
Tue, 29 Apr 2008 22:05:29 +0000 (15:05 -0700)
commitfe086a7bea7ab714930bd48addba961ceeef7634
tree9595c1876f94a81a19166cc4eeb3fac84a895f5e
parent6ff0bc94eee96fe45e5caa338c8b03cb99431fa9
[IA64] Provide ACPI fixup for /proc/cpuinfo/physical_id

Legacy HP ia64 platforms currently cannot provide
/proc/cpuinfo/physical_id due to legacy SAL/PAL implementations.
However, that physical topology information can be obtained
via ACPI.

Provide an interface that gives ACPI one last chance to provide
physical_id for these legacy platforms. This logic only comes
into play iff:

- ACPI actually provides slot information for the CPU
- we lack a valid socket_id

Otherwise, we don't do anything.

Since x86 uses the ACPI processor driver as well, we provide a nop
stub function for arch_fix_phys_package_id() in asm-x86/topology.h

Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/topology.c
drivers/acpi/processor_core.c
include/asm-ia64/topology.h
include/asm-x86/topology.h