From: Daniel Lezcano Date: Thu, 13 Sep 2007 07:16:29 +0000 (+0200) Subject: [NETNS]: Fix allnoconfig compilation error. X-Git-Tag: v2.6.24-rc1~1454^2~676 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fabcd7118162e36eea5c53e8895ecc13762bef3;p=pandora-kernel.git [NETNS]: Fix allnoconfig compilation error. When CONFIG_NET=no, init_net is unresolved because net_namespace.c is not compiled and the include pull init_net definition. This problem was very similar with the ipc namespace where the kernel can be compiled with SYSV ipc out. This patch fix that defining a macro which simply remove init_net initialization from nsproxy namespace aggregator. Compiled and booted on qemu-i386 with CONFIG_NET=no and CONFIG_NET=yes. Signed-off-by: Daniel Lezcano Acked-by: "Eric W. Biederman" Signed-off-by: David S. Miller --- Reading git-diff-tree failed