summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/apic/apic_noop.c
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2014-07-30 23:53:37 -0700
committerH. Peter Anvin <hpa@zytor.com>2014-07-31 08:05:42 -0700
commit658ffd7e6f5ce62e15df99df5f9e181d76ffda8e (patch)
tree5b8b3cffcdbd653374923fd25d9911485894d6fd /arch/x86/kernel/apic/apic_noop.c
parentc460b5d34018d71fdeb8540620690883db3f959b (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/kernel/apic/apic_noop.c')
-rw-r--r--arch/x86/kernel/apic/apic_noop.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/kernel/apic/apic_noop.c b/arch/x86/kernel/apic/apic_noop.c
index 6b25735cc1cd..8c165d9c204c 100644
--- a/arch/x86/kernel/apic/apic_noop.c
+++ b/arch/x86/kernel/apic/apic_noop.c
@@ -94,11 +94,6 @@ static unsigned long noop_check_apicid_used(physid_mask_t *map, int apicid)
return physid_isset(apicid, *map);
}
-static unsigned long noop_check_apicid_present(int bit)
-{
- return physid_isset(bit, phys_cpu_present_map);
-}
-
static void noop_vector_allocation_domain(int cpu, struct cpumask *retmask,
const struct cpumask *mask)
{
@@ -134,7 +129,6 @@ struct apic apic_noop = {
.disable_esr = 0,
.dest_logical = APIC_DEST_LOGICAL,
.check_apicid_used = noop_check_apicid_used,
- .check_apicid_present = noop_check_apicid_present,
.vector_allocation_domain = noop_vector_allocation_domain,
.init_apic_ldr = noop_init_apic_ldr,