aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/x2apic.h
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@redhat.com>2012-06-05 07:23:29 -0400
committerIngo Molnar <mingo@kernel.org>2012-06-06 04:22:17 -0400
commitbf721d3a3bc7a731add45c8078b142b494ab413e (patch)
tree7c0671a46ae23c5c6389ae910f7e9aa5ebaf99fb /arch/x86/include/asm/x2apic.h
parent49d0c7a0a425a89190b7c3b1445faba9eb227bec (diff)
x86/apic: Factor out default target_cpus() operation
Signed-off-by: Alexander Gordeev <agordeev@redhat.com> Cc: Suresh Siddha <suresh.b.siddha@intel.com> Cc: Yinghai Lu <yinghai@kernel.org> Link: http://lkml.kernel.org/r/20120605112324.GA11449@dhcp-26-207.brq.redhat.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/x2apic.h')
-rw-r--r--arch/x86/include/asm/x2apic.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/x86/include/asm/x2apic.h b/arch/x86/include/asm/x2apic.h
index 7a5a832a99b6..f90f0a587c66 100644
--- a/arch/x86/include/asm/x2apic.h
+++ b/arch/x86/include/asm/x2apic.h
@@ -9,15 +9,6 @@
9#include <asm/ipi.h> 9#include <asm/ipi.h>
10#include <linux/cpumask.h> 10#include <linux/cpumask.h>
11 11
12/*
13 * Need to use more than cpu 0, because we need more vectors
14 * when MSI-X are used.
15 */
16static const struct cpumask *x2apic_target_cpus(void)
17{
18 return cpu_online_mask;
19}
20
21static int x2apic_apic_id_valid(int apicid) 12static int x2apic_apic_id_valid(int apicid)
22{ 13{
23 return 1; 14 return 1;