[PATCH] x86_64: Fix warning in genapic

From: Andi Kleen
Date: Thu Oct 28 2004 - 21:16:38 EST


Straight forward patch to remove a warning in genapic about
a unused function.

Independently done by Chris Wright too.

Signed-off-by: Andi Kleen <ak@xxxxxx>

Index: linux/arch/x86_64/kernel/genapic_cluster.c
===================================================================
--- linux.orig/arch/x86_64/kernel/genapic_cluster.c 2004-10-29 01:16:46.%N +0200
+++ linux/arch/x86_64/kernel/genapic_cluster.c 2004-10-29 01:17:21.%N +0200
@@ -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)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/