mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 22:51:37 +00:00
[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:
parent
54e6ecb239
commit
e94b176609
114 changed files with 164 additions and 165 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue