]> nv-tegra.nvidia Code Review - linux-2.6.git/blobdiff - kernel/nsproxy.c
nsproxy: remove INIT_NSPROXY()
[linux-2.6.git] / kernel / nsproxy.c
index 09b4ff9711b2b920ee8a042bfebab452869d9702..2ab67233ee8f71bf43fd7f746438c652c891419f 100644 (file)
 
 static struct kmem_cache *nsproxy_cachep;
 
-struct nsproxy init_nsproxy = INIT_NSPROXY(init_nsproxy);
+struct nsproxy init_nsproxy = {
+       .count  = ATOMIC_INIT(1),
+       .uts_ns = &init_uts_ns,
+#if defined(CONFIG_POSIX_MQUEUE) || defined(CONFIG_SYSVIPC)
+       .ipc_ns = &init_ipc_ns,
+#endif
+       .mnt_ns = NULL,
+       .pid_ns = &init_pid_ns,
+#ifdef CONFIG_NET
+       .net_ns = &init_net,
+#endif
+};
 
 static inline struct nsproxy *create_nsproxy(void)
 {