lkml.org 
[lkml]   [2002]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Linux 2.4.19-rc2-ac2
From
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/

\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.077 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site