[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
+2
-2
@@ -485,13 +485,13 @@ static int fn_hash_insert(struct fib_table *tb, struct fib_config *cfg)
|
||||
goto out;
|
||||
|
||||
err = -ENOBUFS;
|
||||
new_fa = kmem_cache_alloc(fn_alias_kmem, SLAB_KERNEL);
|
||||
new_fa = kmem_cache_alloc(fn_alias_kmem, GFP_KERNEL);
|
||||
if (new_fa == NULL)
|
||||
goto out;
|
||||
|
||||
new_f = NULL;
|
||||
if (!f) {
|
||||
new_f = kmem_cache_alloc(fn_hash_kmem, SLAB_KERNEL);
|
||||
new_f = kmem_cache_alloc(fn_hash_kmem, GFP_KERNEL);
|
||||
if (new_f == NULL)
|
||||
goto out_free_new_fa;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user