aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2006-09-26 02:31:36 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-26 11:48:49 -0400
commitdbe5e69d2d6e591996ea2b817b887d03b60bb143 (patch)
tree09e21f2e0da60faef982d02a9224e62c409e776a /mm
parentda6052f7b33abe55fbfd7d2213815f58c00a88d4 (diff)
[PATCH] slab: optimize kmalloc_node the same way as kmalloc
[akpm@osdl.org: export fix] Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/slab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/slab.c b/mm/slab.c
index 3ad2f64998fd..5e59ce7a46c8 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -3348,7 +3348,7 @@ void *kmem_cache_alloc_node(struct kmem_cache *cachep, gfp_t flags, int nodeid)
3348} 3348}
3349EXPORT_SYMBOL(kmem_cache_alloc_node); 3349EXPORT_SYMBOL(kmem_cache_alloc_node);
3350 3350
3351void *kmalloc_node(size_t size, gfp_t flags, int node) 3351void *__kmalloc_node(size_t size, gfp_t flags, int node)
3352{ 3352{
3353 struct kmem_cache *cachep; 3353 struct kmem_cache *cachep;
3354 3354
@@ -3357,7 +3357,7 @@ void *kmalloc_node(size_t size, gfp_t flags, int node)
3357 return NULL; 3357 return NULL;
3358 return kmem_cache_alloc_node(cachep, flags, node); 3358 return kmem_cache_alloc_node(cachep, flags, node);
3359} 3359}
3360EXPORT_SYMBOL(kmalloc_node); 3360EXPORT_SYMBOL(__kmalloc_node);
3361#endif 3361#endif
3362 3362
3363/** 3363/**