[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
@@ -126,7 +126,7 @@ dma_pool_create (const char *name, struct device *dev,
|
||||
} else if (allocation < size)
|
||||
return NULL;
|
||||
|
||||
if (!(retval = kmalloc (sizeof *retval, SLAB_KERNEL)))
|
||||
if (!(retval = kmalloc (sizeof *retval, GFP_KERNEL)))
|
||||
return retval;
|
||||
|
||||
strlcpy (retval->name, name, sizeof retval->name);
|
||||
|
Reference in New Issue
Block a user