aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/kernel/apic/x2apic_cluster.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/kernel/apic/x2apic_cluster.c b/arch/x86/kernel/apic/x2apic_cluster.c
index 23a46cf5b6fd..1885a73b7f33 100644
--- a/arch/x86/kernel/apic/x2apic_cluster.c
+++ b/arch/x86/kernel/apic/x2apic_cluster.c
@@ -228,10 +228,11 @@ static int x2apic_cluster_probe(void)
228/* 228/*
229 * Each x2apic cluster is an allocation domain. 229 * Each x2apic cluster is an allocation domain.
230 */ 230 */
231static void cluster_vector_allocation_domain(int cpu, struct cpumask *retmask) 231static bool cluster_vector_allocation_domain(int cpu, struct cpumask *retmask)
232{ 232{
233 cpumask_clear(retmask); 233 cpumask_clear(retmask);
234 cpumask_copy(retmask, per_cpu(cpus_in_cluster, cpu)); 234 cpumask_copy(retmask, per_cpu(cpus_in_cluster, cpu));
235 return true;
235} 236}
236 237
237static struct apic apic_x2apic_cluster = { 238static struct apic apic_x2apic_cluster = {