[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
@@ -425,7 +425,7 @@ void taskstats_exit_alloc(struct taskstats **ptidstats, unsigned int *mycpu)
|
||||
*mycpu = raw_smp_processor_id();
|
||||
|
||||
*ptidstats = NULL;
|
||||
tmp = kmem_cache_zalloc(taskstats_cache, SLAB_KERNEL);
|
||||
tmp = kmem_cache_zalloc(taskstats_cache, GFP_KERNEL);
|
||||
if (!tmp)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user