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

Keith Owens
2001-02-06T06:39:29Z

On Mon, 5 Feb 2001 19:06:58 -0500 ,
"Miller, Brendan" <Brendan.Miller@Dialogic.com> 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