Re: Linux 2.4.19-rc2-ac2

From: khromy (khromy@lnuxlab.ath.cx)
Date: Fri Jul 19 2002 - 14:27:07 EST


When compiling 2.4.19-rc2-ac2 I got the following warning:

ksyms.c:15:1: warning: "smp_num_cpus" redefined
In file included from /usr/src/linux-2.4-ac/include/linux/sched.h:23,
                 from /usr/src/linux-2.4-ac/include/linux/mm.h:4,
                 from /usr/src/linux-2.4-ac/include/linux/slab.h:14,
                 from ksyms.c:13:
/usr/src/linux-2.4-ac/include/linux/smp.h:80:1: warning: this is the location of the previous definition

When I looked at ksyms.c:15 I see:

#include <linux/slab.h>
#include <linux/smp.h>
#define smp_num_cpus 11 <----
#include <linux/module.h>
#include <linux/blkdev.h>

Is that suppose to really be there?

-- 
L1:	khromy		;khromy(at)lnuxlab.ath.cx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:31 EST