[PATCH] slab: remove SLAB_KERNEL
SLAB_KERNEL is an alias of GFP_KERNEL. Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
54e6ecb239
commit
e94b176609
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user