lkml.org 
[lkml]   [2003]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 2.4][TRIVIAL][RESEND] Fix warning in arch/i386/kernel/setup.c
Dave,

the following patch fixes a warning if CONFIG_SMP is not defined.

The patch applies to 2.4.22-rc1-ac1.

Stephane Ouellette

--- 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",
\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.017 / U:42.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site