]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/nsproxy.c
PM: Rename struct pm_ops and related things
[linux-2.6-omap-h63xx.git] / kernel / nsproxy.c
index f1decd21a534c248054bef7c1c6f9f6ec7da072c..049e7c0ac5668964cb08554aee935ee687642852 100644 (file)
@@ -203,8 +203,7 @@ int unshare_nsproxy_namespaces(unsigned long unshare_flags,
 
 static int __init nsproxy_cache_init(void)
 {
-       nsproxy_cachep = kmem_cache_create("nsproxy", sizeof(struct nsproxy),
-                                          0, SLAB_PANIC, NULL);
+       nsproxy_cachep = KMEM_CACHE(nsproxy, SLAB_PANIC);
        return 0;
 }