Re: smp_num_cpus redefined? (compiling 2.2.18 for non-SMP?)

From: Keith Owens (
Date: Tue Feb 06 2001 - 01:39:05 EST

On Mon, 5 Feb 2001 19:06:58 -0500 ,
"Miller, Brendan" <> wrote:
>I have a problem that would have started out as "I can't compile my device
>driver with 2.2.18". I was compiling my device driver for non-SMP while my
>kernel (and thus /usr/src/linux) was SMP. So I looked at compiling the
>kernel for non-SMP so that my /usr/src/linux would be non-SMP and my device
>driver would match. Well, now just compiling 2.2.18 for non-SMP, I get
>In file included from /usr/src/linux-2.2.18/include/linux/modversions.h:16,
> from /usr/src/linux-2.2.18/include/linux/module.h:19,
> from ksyms.c:14:
>/usr/src/linux-2.2.18/include/linux/modules/i386_ksyms.ver:64: warning:
>`cpu_data' redefined

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Feb 07 2001 - 21:00:23 EST