From: Christoph Lameter Date: Fri, 22 Dec 2006 09:06:44 +0000 (-0800) Subject: [PATCH] slab: fix kmem_ptr_validate definition X-Git-Tag: upstream/snapshot3+hdmi~36479 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b7f869a2847dfe6f9b0835ca1b24e73bed926d7d;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [PATCH] slab: fix kmem_ptr_validate definition The declaration of kmem_ptr_validate in slab.h does not match the one in slab.c. Remove the fastcall attribute (this is the only use in slab.c). Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/slab.c b/mm/slab.c index 909975f..176037b 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -3553,7 +3553,7 @@ EXPORT_SYMBOL(kmem_cache_zalloc); * * Currently only used for dentry validation. */ -int fastcall kmem_ptr_validate(struct kmem_cache *cachep, const void *ptr) +int kmem_ptr_validate(struct kmem_cache *cachep, const void *ptr) { unsigned long addr = (unsigned long)ptr; unsigned long min_addr = PAGE_OFFSET;