mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86_64: Fix warning in genapic
@ 2004-10-28 23:47 Andi Kleen
  0 siblings, 0 replies; only message in thread
From: Andi Kleen @ 2004-10-28 23:47 UTC (permalink / raw)
  To: torvalds, akpm, linux-kernel, discuss

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@muc.de>

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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-10-29  0:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-28 23:47 [PATCH] x86_64: Fix warning in genapic Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®