[PATCH] compile fix for neighbour scalability backport

From: Chris Wright
Date: Fri Nov 05 2004 - 20:25:21 EST


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@xxxxxxxx>

===== 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/