Messages in this thread | | | Date | Fri, 19 Jul 2002 15:27:07 -0400 | Subject | Re: Linux 2.4.19-rc2-ac2 | From | (khromy) |
| |
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/
| |