diff options
Diffstat (limited to 'arch/x86/kernel/apic/apic_flat_64.c')
-rw-r--r-- | arch/x86/kernel/apic/apic_flat_64.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/arch/x86/kernel/apic/apic_flat_64.c b/arch/x86/kernel/apic/apic_flat_64.c index de279b32ceb1..61ac1afeff07 100644 --- a/arch/x86/kernel/apic/apic_flat_64.c +++ b/arch/x86/kernel/apic/apic_flat_64.c | |||
@@ -36,11 +36,6 @@ static int flat_acpi_madt_oem_check(char *oem_id, char *oem_table_id) | |||
36 | return 1; | 36 | return 1; |
37 | } | 37 | } |
38 | 38 | ||
39 | static const struct cpumask *flat_target_cpus(void) | ||
40 | { | ||
41 | return cpu_online_mask; | ||
42 | } | ||
43 | |||
44 | static void flat_vector_allocation_domain(int cpu, struct cpumask *retmask) | 39 | static void flat_vector_allocation_domain(int cpu, struct cpumask *retmask) |
45 | { | 40 | { |
46 | /* Careful. Some cpus do not strictly honor the set of cpus | 41 | /* Careful. Some cpus do not strictly honor the set of cpus |
@@ -186,7 +181,7 @@ static struct apic apic_flat = { | |||
186 | .irq_delivery_mode = dest_LowestPrio, | 181 | .irq_delivery_mode = dest_LowestPrio, |
187 | .irq_dest_mode = 1, /* logical */ | 182 | .irq_dest_mode = 1, /* logical */ |
188 | 183 | ||
189 | .target_cpus = flat_target_cpus, | 184 | .target_cpus = online_target_cpus, |
190 | .disable_esr = 0, | 185 | .disable_esr = 0, |
191 | .dest_logical = APIC_DEST_LOGICAL, | 186 | .dest_logical = APIC_DEST_LOGICAL, |
192 | .check_apicid_used = NULL, | 187 | .check_apicid_used = NULL, |
@@ -262,11 +257,6 @@ static int physflat_acpi_madt_oem_check(char *oem_id, char *oem_table_id) | |||
262 | return 0; | 257 | return 0; |
263 | } | 258 | } |
264 | 259 | ||
265 | static const struct cpumask *physflat_target_cpus(void) | ||
266 | { | ||
267 | return cpu_online_mask; | ||
268 | } | ||
269 | |||
270 | static void physflat_vector_allocation_domain(int cpu, struct cpumask *retmask) | 260 | static void physflat_vector_allocation_domain(int cpu, struct cpumask *retmask) |
271 | { | 261 | { |
272 | cpumask_clear(retmask); | 262 | cpumask_clear(retmask); |
@@ -345,7 +335,7 @@ static struct apic apic_physflat = { | |||
345 | .irq_delivery_mode = dest_Fixed, | 335 | .irq_delivery_mode = dest_Fixed, |
346 | .irq_dest_mode = 0, /* physical */ | 336 | .irq_dest_mode = 0, /* physical */ |
347 | 337 | ||
348 | .target_cpus = physflat_target_cpus, | 338 | .target_cpus = online_target_cpus, |
349 | .disable_esr = 0, | 339 | .disable_esr = 0, |
350 | .dest_logical = 0, | 340 | .dest_logical = 0, |
351 | .check_apicid_used = NULL, | 341 | .check_apicid_used = NULL, |