aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/acpi.c
diff options
context:
space:
mode:
authorKenji Kaneshige <kaneshige.kenji@soft.fujitsu.com>2006-03-15 00:45:11 -0500
committerTony Luck <tony.luck@intel.com>2006-03-22 18:58:46 -0500
commitd903cea3811994d4c4122a0e3ca6d3a197e812e2 (patch)
treefb3b8ed236d158246ae163afd33109c58673c4ae /arch/ia64/kernel/acpi.c
parent9a4e5549b7cb5d0ef187184641d8defe8be875f5 (diff)
[IA64] Ignore disabled Local SAPIC Affinity Structure in SRAT
According to the ACPI spec, the OSPM must ignore the contents of the Processor Local APIC/SAPIC Affinity Structure in System Resource Affinity Table (SRAT), if its enable flag is cleared. However, ia64 linux refers all of the Processor Local APIC/SAPIC Affinity Structures in SRAT regardless of the enable flag. This is obviously against the ACPI spec. This patch fixes this bug. Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/kernel/acpi.c')
-rw-r--r--arch/ia64/kernel/acpi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c
index 4722ec51c70c..24fe7c81e108 100644
--- a/arch/ia64/kernel/acpi.c
+++ b/arch/ia64/kernel/acpi.c
@@ -443,6 +443,9 @@ void __init acpi_numa_slit_init(struct acpi_table_slit *slit)
443void __init 443void __init
444acpi_numa_processor_affinity_init(struct acpi_table_processor_affinity *pa) 444acpi_numa_processor_affinity_init(struct acpi_table_processor_affinity *pa)
445{ 445{
446 if (!pa->flags.enabled)
447 return;
448
446 /* record this node in proximity bitmap */ 449 /* record this node in proximity bitmap */
447 pxm_bit_set(pa->proximity_domain); 450 pxm_bit_set(pa->proximity_domain);
448 451