summaryrefslogtreecommitdiffstats
path: root/mm/slab.c
diff options
context:
space:
mode:
authorRolf Eike Beer <eike-kernel@sf-tec.de>2006-07-30 12:04:04 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-31 22:28:43 +0200
commitb8008b2bc21fb13b45964e21247f18c013d6e985 (patch)
treee939d1b02ce1e2c7b2432a385d13a105b1bc6414 /mm/slab.c
parent[PATCH] reference rt-mutex-design in rtmutex.c (diff)
downloadlinux-b8008b2bc21fb13b45964e21247f18c013d6e985.tar.xz
linux-b8008b2bc21fb13b45964e21247f18c013d6e985.zip
[PATCH] Fix kmem_cache_alloc() been documented twice
kmem_cache_alloc() was documented twice, but kmem_cache_zalloc() never. Fix this obvious typo to get things right. Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/slab.c')
-rw-r--r--mm/slab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/slab.c b/mm/slab.c
index 252972ff6495..21ba06035700 100644
--- a/mm/slab.c
+++ b/mm/slab.c
@@ -3224,7 +3224,7 @@ void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags)
EXPORT_SYMBOL(kmem_cache_alloc);
/**
- * kmem_cache_alloc - Allocate an object. The memory is set to zero.
+ * kmem_cache_zalloc - Allocate an object. The memory is set to zero.
* @cache: The cache to allocate from.
* @flags: See kmalloc().
*