Messages in this thread Patch in this message | | | Date | Fri, 5 Nov 2004 17:24:14 -0800 | From | Chris Wright <> | Subject | [PATCH] compile fix for neighbour scalability backport |
| |
Compile fix for neighbour scalability backport.
neighbour.c:1901: error: `THIS_MODULE' undeclared here (not in a function) neighbour.c:1901: error: initializer element is not constant neighbour.c:1901: error: (near initialization for `neigh_stat_seq_fops.owner')
Signed-off-by: Chris Wright <chrisw@osdl.org>
===== net/core/neighbour.c 1.14 vs edited ===== --- 1.14/net/core/neighbour.c 2004-10-05 11:40:25 -07:00 +++ edited/net/core/neighbour.c 2004-11-05 17:13:03 -08:00 @@ -19,6 +19,7 @@ #include <linux/config.h> #include <linux/types.h> #include <linux/kernel.h> +#include <linux/module.h> #include <linux/socket.h> #include <linux/sched.h> #include <linux/netdevice.h> - 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/
| |