From: Stephane Ouellette <ouellettes@videotron.ca>
To: davej@suse.de
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH 2.4][TRIVIAL][RESEND] Fix warning in arch/i386/kernel/setup.c
Date: Sat, 16 Aug 2003 00:01:02 -0400 [thread overview]
Message-ID: <3F3DAC7E.204@videotron.ca> (raw)
[-- Attachment #1: Type: text/plain, Size: 138 bytes --]
Dave,
the following patch fixes a warning if CONFIG_SMP is not defined.
The patch applies to 2.4.22-rc1-ac1.
Stephane Ouellette
[-- Attachment #2: setup.c-2.4.22-rc1-ac1.diff --]
[-- Type: text/plain, Size: 482 bytes --]
--- linux-2.4.22-rc1-ac1-orig/arch/i386/kernel/setup.c Fri Aug 8 22:34:38 2003
+++ linux-2.4.22-rc1-ac1-fixed/arch/i386/kernel/setup.c Sat Aug 9 00:41:01 2003
@@ -2978,7 +2978,9 @@
* applications want to get the raw CPUID data, they should access
* /dev/cpu/<cpu_nr>/cpuid instead.
*/
+#ifdef CONFIG_SMP
extern int phys_proc_id[NR_CPUS];
+#endif
static char *x86_cap_flags[] = {
/* Intel-defined */
"fpu", "vme", "de", "pse", "tsc", "msr", "pae", "mce",
reply other threads:[~2003-08-16 4:09 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=3F3DAC7E.204@videotron.ca \
--to=ouellettes@videotron.ca \
--cc=davej@suse.de \
--cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.