This seems strange to me too, hope it's not my stupidity.

If CONFIG_SMP is defined, I can't find any header that defines
smp_num_cpus......... it has definition in /usr/include/linux/smp.h, but
that's only when CONFIG_SMP is not defined.

Abel Cheung


On Sun, 4 Mar 2001, Guillaume Rousse wrote:

> In file included from /usr/src/linux/include/linux/modversions.h:122,
>                  from /usr/src/linux/include/linux/module.h:21,
>                  from ksyms.c:14:
> /usr/src/linux/include/linux/modules/ksyms.ver:536: warning:
> `del_timer_sync' redefined
> /usr/src/linux/include/linux/timer.h:34: warning: this is the location of
> the previous definition
> /usr/src/linux/include/linux/kernel_stat.h: In function `kstat_irqs':
> In file included from ksyms.c:17:
> /usr/src/linux/include/linux/kernel_stat.h:48: `smp_num_cpus' undeclared
> (first use in this function)


Reply via email to