X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=mm%2Frmap.c;h=75a32be64a2137e5e95279c9486a5aed4c3d761b;hb=b46b8f19c9cd435ecac4d9d12b39d78c137ecd66;hp=59da5b734c801c6186621fa5dabf94108268fd51;hpb=b643b0fdbc59cf6bbb086974b29d2571e9e9f646;p=powerpc.git diff --git a/mm/rmap.c b/mm/rmap.c index 59da5b734c..75a32be64a 100644 --- a/mm/rmap.c +++ b/mm/rmap.c @@ -162,8 +162,7 @@ void anon_vma_unlink(struct vm_area_struct *vma) static void anon_vma_ctor(void *data, struct kmem_cache *cachep, unsigned long flags) { - if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) == - SLAB_CTOR_CONSTRUCTOR) { + if (flags & SLAB_CTOR_CONSTRUCTOR) { struct anon_vma *anon_vma = data; spin_lock_init(&anon_vma->lock);