[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
@@ -108,7 +108,7 @@ static struct kmem_cache *ctblk_cache = NULL;
|
||||
|
||||
void *ehca_alloc_fw_ctrlblock(void)
|
||||
{
|
||||
void *ret = kmem_cache_zalloc(ctblk_cache, SLAB_KERNEL);
|
||||
void *ret = kmem_cache_zalloc(ctblk_cache, GFP_KERNEL);
|
||||
if (!ret)
|
||||
ehca_gen_err("Out of memory for ctblk");
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user