x86_64: Fix warning in genapic
PATCH 1/1 x86_64: Fix warning in genapic
Straight forward patch to remove a warning in genapic about a unused function.
Independently done by Chris Wright too.
Signed-off-by Andi Kleen <[email protected]>
arch/x86_64/kernel/genapic_cluster.c +0 -8
@@ -57,14 +57,6 @@apic_write_around (APIC_LDR , val); } -static int cluster_cpu_present_to_apicid (int mps_cpu) -{ -if ((unsigned )mps_cpu <NR_CPUS ) -return (int )bios_cpu_apicid[mps_cpu]; -else -return BAD_APICID ; -} -/* Start with all IRQs pointing to boot CPU. IRQ balancing will shift them. */ static cpumask_t cluster_target_cpus (void )