[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
@ -34,7 +34,7 @@ extern kmem_cache_t *anon_vma_cachep;
|
||||
|
||||
static inline struct anon_vma *anon_vma_alloc(void)
|
||||
{
|
||||
return kmem_cache_alloc(anon_vma_cachep, SLAB_KERNEL);
|
||||
return kmem_cache_alloc(anon_vma_cachep, GFP_KERNEL);
|
||||
}
|
||||
|
||||
static inline void anon_vma_free(struct anon_vma *anon_vma)
|
||||
|
Reference in New Issue
Block a user