[PATCH] slab: remove SLAB_KERNEL
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / ia64 / kernel / perfmon.c
index 3aaede0d6981783037b1eaec5d0a0b7e364d57ef..e2321536ee4c067249bc9169524e1da0933f1cc9 100644 (file)
@@ -2302,7 +2302,7 @@ pfm_smpl_buffer_alloc(struct task_struct *task, pfm_context_t *ctx, unsigned lon
        DPRINT(("smpl_buf @%p\n", smpl_buf));
 
        /* allocate vma */
-       vma = kmem_cache_alloc(vm_area_cachep, SLAB_KERNEL);
+       vma = kmem_cache_alloc(vm_area_cachep, GFP_KERNEL);
        if (!vma) {
                DPRINT(("Cannot allocate vma\n"));
                goto error_kmem;