Re: [PATCH] compile fix for neighbour scalability backport

From: Chris Wright
Date: Fri Nov 05 2004 - 20:33:02 EST


And another compile fix for neighbour scalability fixes.

arp.c:1342: error: `THIS_MODULE' undeclared here (not in a function)
arp.c:1342: error: initializer element is not constant
arp.c:1342: error: (near initialization for `arp_seq_fops.owner')

Signed-off-by: Chris Wright <chrisw@xxxxxxxx>

===== net/ipv4/arp.c 1.18 vs edited =====
--- 1.18/net/ipv4/arp.c 2004-10-05 12:33:32 -07:00
+++ edited/net/ipv4/arp.c 2004-11-05 17:25:52 -08:00
@@ -76,6 +76,7 @@
#include <linux/types.h>
#include <linux/string.h>
#include <linux/kernel.h>
+#include <linux/module.h>
#include <linux/sched.h>
#include <linux/config.h>
#include <linux/socket.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/