diff options
author | David Rientjes <rientjes@google.com> | 2014-07-31 02:53:37 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2014-07-31 11:05:42 -0400 |
commit | 658ffd7e6f5ce62e15df99df5f9e181d76ffda8e (patch) | |
tree | 5b8b3cffcdbd653374923fd25d9911485894d6fd /arch/x86/include/asm/apic.h | |
parent | c460b5d34018d71fdeb8540620690883db3f959b (diff) |
x86, apic: Remove check_apicid_present callback
The check_apicid_present() apic callback is never called, so remove it
and functions that implement it.
Signed-off-by: David Rientjes <rientjes@google.com>
Link: http://lkml.kernel.org/r/alpine.DEB.2.02.1407302350160.17503@chino.kir.corp.google.com
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm/apic.h')
-rw-r--r-- | arch/x86/include/asm/apic.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h index 86d155026c3e..e1c0c2d4a961 100644 --- a/arch/x86/include/asm/apic.h +++ b/arch/x86/include/asm/apic.h | |||
@@ -292,7 +292,6 @@ struct apic { | |||
292 | 292 | ||
293 | int dest_logical; | 293 | int dest_logical; |
294 | unsigned long (*check_apicid_used)(physid_mask_t *map, int apicid); | 294 | unsigned long (*check_apicid_used)(physid_mask_t *map, int apicid); |
295 | unsigned long (*check_apicid_present)(int apicid); | ||
296 | 295 | ||
297 | void (*vector_allocation_domain)(int cpu, struct cpumask *retmask, | 296 | void (*vector_allocation_domain)(int cpu, struct cpumask *retmask, |
298 | const struct cpumask *mask); | 297 | const struct cpumask *mask); |
@@ -608,11 +607,6 @@ static inline unsigned long default_check_apicid_used(physid_mask_t *map, int ap | |||
608 | return physid_isset(apicid, *map); | 607 | return physid_isset(apicid, *map); |
609 | } | 608 | } |
610 | 609 | ||
611 | static inline unsigned long default_check_apicid_present(int bit) | ||
612 | { | ||
613 | return physid_isset(bit, phys_cpu_present_map); | ||
614 | } | ||
615 | |||
616 | static inline void default_ioapic_phys_id_map(physid_mask_t *phys_map, physid_mask_t *retmap) | 610 | static inline void default_ioapic_phys_id_map(physid_mask_t *phys_map, physid_mask_t *retmap) |
617 | { | 611 | { |
618 | *retmap = *phys_map; | 612 | *retmap = *phys_map; |