aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apic/bigsmp_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/apic/bigsmp_32.c')
-rw-r--r--arch/x86/kernel/apic/bigsmp_32.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/arch/x86/kernel/apic/bigsmp_32.c b/arch/x86/kernel/apic/bigsmp_32.c
index 31fbdbfbf96..c288e81e00f 100644
--- a/arch/x86/kernel/apic/bigsmp_32.c
+++ b/arch/x86/kernel/apic/bigsmp_32.c
@@ -26,15 +26,6 @@ static int bigsmp_apic_id_registered(void)
26 return 1; 26 return 1;
27} 27}
28 28
29static const struct cpumask *bigsmp_target_cpus(void)
30{
31#ifdef CONFIG_SMP
32 return cpu_online_mask;
33#else
34 return cpumask_of(0);
35#endif
36}
37
38static unsigned long bigsmp_check_apicid_used(physid_mask_t *map, int apicid) 29static unsigned long bigsmp_check_apicid_used(physid_mask_t *map, int apicid)
39{ 30{
40 return 0; 31 return 0;
@@ -205,7 +196,7 @@ static struct apic apic_bigsmp = {
205 /* phys delivery to target CPU: */ 196 /* phys delivery to target CPU: */
206 .irq_dest_mode = 0, 197 .irq_dest_mode = 0,
207 198
208 .target_cpus = bigsmp_target_cpus, 199 .target_cpus = default_target_cpus,
209 .disable_esr = 1, 200 .disable_esr = 1,
210 .dest_logical = 0, 201 .dest_logical = 0,
211 .check_apicid_used = bigsmp_check_apicid_used, 202 .check_apicid_used = bigsmp_check_apicid_used,