mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] compile fix for neighbour scalability backport
@ 2004-11-06  1:24 Chris Wright
  2004-11-06  1:31 ` Chris Wright
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Wright @ 2004-11-06  1:24 UTC (permalink / raw)
  To: marcelo.tosatti; +Cc: linux-kernel

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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] compile fix for neighbour scalability backport
  2004-11-06  1:24 [PATCH] compile fix for neighbour scalability backport Chris Wright
@ 2004-11-06  1:31 ` Chris Wright
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Wright @ 2004-11-06  1:31 UTC (permalink / raw)
  To: marcelo.tosatti; +Cc: linux-kernel

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@osdl.org>

===== 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>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-06  1:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-06  1:24 [PATCH] compile fix for neighbour scalability backport Chris Wright
2004-11-06  1:31 ` Chris Wright

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®