]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - kernel/fork.c
Remove SLAB_CTOR_CONSTRUCTOR
[mirror_ubuntu-artful-kernel.git] / kernel / fork.c
index 49530e40ea8b7e6a7d6c1725f42312bd5161ad2a..87069cfc18a126f5344f1d2ac77309b1eb72e7fc 100644 (file)
@@ -1427,10 +1427,8 @@ static void sighand_ctor(void *data, struct kmem_cache *cachep,
 {
        struct sighand_struct *sighand = data;
 
-       if (flags & SLAB_CTOR_CONSTRUCTOR) {
-               spin_lock_init(&sighand->siglock);
-               INIT_LIST_HEAD(&sighand->signalfd_list);
-       }
+       spin_lock_init(&sighand->siglock);
+       INIT_LIST_HEAD(&sighand->signalfd_list);
 }
 
 void __init proc_caches_init(void)