[PATCH] slab: remove SLAB_KERNEL
[powerpc.git] / security / keys / key.c
index 70eacbe..157bac6 100644 (file)
@@ -285,7 +285,7 @@ struct key *key_alloc(struct key_type *type, const char *desc,
        }
 
        /* allocate and initialise the key and its description */
-       key = kmem_cache_alloc(key_jar, SLAB_KERNEL);
+       key = kmem_cache_alloc(key_jar, GFP_KERNEL);
        if (!key)
                goto no_memory_2;