From: Andi Kleen <ak@muc.de>
To: torvalds@osdl.org, akpm@osdl.org, linux-kernel@vger.kernel.org,
discuss@x86-64.org
Subject: [PATCH] x86_64: Fix warning in genapic
Date: 29 Oct 2004 01:47:18 +0200 [thread overview]
Date: Fri, 29 Oct 2004 01:47:18 +0200 [thread overview]
Message-ID: <20041028234718.GB94390@muc.de> (raw)
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)
reply other threads:[~2004-10-29 0:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041028234718.GB94390@muc.de \
--to=ak@muc.de \
--cc=akpm@osdl.org \
--cc=discuss@x86-64.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®