[PATCH] slab: remove SLAB_KERNEL
[linux-2.6-block.git] / fs / exec.c
index d993ea1a81aee7b60cdc11ffc9ee18dd09a8658d..2092bd2074635f11e657ad55a20cd6b91737f115 100644 (file)
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -404,7 +404,7 @@ int setup_arg_pages(struct linux_binprm *bprm,
                bprm->loader += stack_base;
        bprm->exec += stack_base;
 
-       mpnt = kmem_cache_alloc(vm_area_cachep, SLAB_KERNEL);
+       mpnt = kmem_cache_alloc(vm_area_cachep, GFP_KERNEL);
        if (!mpnt)
                return -ENOMEM;