aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-04-03 16:04:33 -0400
committerDavid S. Miller <davem@davemloft.net>2008-04-03 16:04:33 -0400
commita4aa834a9165150252c5cd953faab4de29d51b87 (patch)
treee96e20355057dfabd279b7b7c94fedeffed4e020 /lib
parente1ec1b8ccdf0df6000faa8c2d985ca5f94157e5a (diff)
[NETNS]: Declare init_net even without CONFIG_NET defined.
This does not look good, but there is no other choice. The compilation without CONFIG_NET is broken and can not be fixed with ease. After that there is no need for the following commits: 1567ca7eec7664b8be3b07755ac59dc1b1ec76cb 3edf8fa5ccf10688a9280b5cbca8ed3947c42866 2d38f9a4f8d2ebdc799f03eecf82345825495711 Revert them. Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/kobject_uevent.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/kobject_uevent.c b/lib/kobject_uevent.c
index 0d56dad319ad..b06185ed1895 100644
--- a/lib/kobject_uevent.c
+++ b/lib/kobject_uevent.c
@@ -19,12 +19,10 @@
19#include <linux/kobject.h> 19#include <linux/kobject.h>
20#include <linux/module.h> 20#include <linux/module.h>
21 21
22#ifdef CONFIG_NET
23#include <linux/socket.h> 22#include <linux/socket.h>
24#include <linux/skbuff.h> 23#include <linux/skbuff.h>
25#include <linux/netlink.h> 24#include <linux/netlink.h>
26#include <net/sock.h> 25#include <net/sock.h>
27#endif
28 26
29 27
30u64 uevent_seqnum; 28u64 uevent_seqnum;