diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/fork.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index ffccefb28b6a..b7d169def942 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -1425,8 +1425,7 @@ static void sighand_ctor(void *data, struct kmem_cache *cachep, unsigned long fl | |||
1425 | { | 1425 | { |
1426 | struct sighand_struct *sighand = data; | 1426 | struct sighand_struct *sighand = data; |
1427 | 1427 | ||
1428 | if ((flags & (SLAB_CTOR_VERIFY | SLAB_CTOR_CONSTRUCTOR)) == | 1428 | if (flags & SLAB_CTOR_CONSTRUCTOR) |
1429 | SLAB_CTOR_CONSTRUCTOR) | ||
1430 | spin_lock_init(&sighand->siglock); | 1429 | spin_lock_init(&sighand->siglock); |
1431 | } | 1430 | } |
1432 | 1431 | ||