Fix warning in arch/i386/kernel/setup.c
PATCH RESEND 1/1 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
arch/i386/kernel/setup.c +2 -0
@@ -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" ,