summaryrefslogtreecommitdiff
path: root/arch/ia64/kernel/topology.c
diff options
context:
space:
mode:
authorAshok Raj <ashok.raj@intel.com>2005-03-31 22:51:10 -0500
committerLen Brown <len.brown@intel.com>2005-07-12 00:01:41 -0400
commit55e59c511cea3c6c721971467c707e9955922bc2 (patch)
tree1dc3b66be2e71881167b7ba9259b291484567b01 /arch/ia64/kernel/topology.c
parent6940fabaa35b893163b7043d0d1dc5d715f9e1ca (diff)
[ACPI] Evaluate CPEI Processor Override flag
ACPI 3.0 added a Correctable Platform Error Interrupt (CPEI) Processor Overide flag to MADT.Platform_Interrupt_Source. Record the processor that was provided as hint from ACPI. Signed-off-by: Ashok Raj <ashok.raj@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch/ia64/kernel/topology.c')
-rw-r--r--arch/ia64/kernel/topology.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/ia64/kernel/topology.c b/arch/ia64/kernel/topology.c
index f1aafd4c05f9..d8030f3bd865 100644
--- a/arch/ia64/kernel/topology.c
+++ b/arch/ia64/kernel/topology.c
@@ -36,6 +36,13 @@ int arch_register_cpu(int num)
parent = &sysfs_nodes[cpu_to_node(num)];
#endif /* CONFIG_NUMA */
+ /*
+ * If CPEI cannot be re-targetted, and this is
+ * CPEI target, then dont create the control file
+ */
+ if (!can_cpei_retarget() && is_cpu_cpei_target(num))
+ sysfs_cpus[num].cpu.no_control = 1;
+
return register_cpu(&sysfs_cpus[num].cpu, num, parent);
}