X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=mm%2Fslab.c;h=21ba0603570001bccb5cf97e3a1bf2adbb3a470d;hb=6cb53e7ed77d429531afa8d822d59909f953a771;hp=0f20843beffdb504574dc471bfaacf12abfd902d;hpb=00ab956f2fefd3673edc16df55beed21834b7bdd;p=powerpc.git diff --git a/mm/slab.c b/mm/slab.c index 0f20843bef..21ba060357 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -1106,7 +1106,7 @@ static inline int cache_free_alien(struct kmem_cache *cachep, void *objp) #endif -static int __devinit cpuup_callback(struct notifier_block *nfb, +static int __cpuinit cpuup_callback(struct notifier_block *nfb, unsigned long action, void *hcpu) { long cpu = (long)hcpu; @@ -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(). *