From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: [PATCH] slab: fix kmem_ptr_validate prototype From: Peter Zijlstra Content-Type: text/plain; charset=UTF-8 Date: Thu, 14 Dec 2006 13:26:40 +0100 Message-Id: <1166099200.32332.233.camel@twins> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-linux-mm@kvack.org Return-Path: To: Andrew Morton , Christoph Lameter , linux-kernel Cc: linux-mm List-ID: Some fallout of: 2e892f43ccb602e8ffad73396a1000f2040c9e0b CC mm/slab.o /usr/src/linux-2.6-git/mm/slab.c:3557: error: conflicting types for a??kmem_ptr_validatea?? /usr/src/linux-2.6-git/include/linux/slab.h:58: error: previous declaration of a??kmem_ptr_validatea?? was here Signed-off-by: Peter Zijlstra --- include/linux/slab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-2.6-git/include/linux/slab.h =================================================================== --- linux-2.6-git.orig/include/linux/slab.h 2006-12-14 11:56:35.000000000 +0100 +++ linux-2.6-git/include/linux/slab.h 2006-12-14 11:56:46.000000000 +0100 @@ -55,7 +55,7 @@ void *kmem_cache_zalloc(struct kmem_cach void kmem_cache_free(struct kmem_cache *, void *); unsigned int kmem_cache_size(struct kmem_cache *); const char *kmem_cache_name(struct kmem_cache *); -int kmem_ptr_validate(struct kmem_cache *cachep, const void *ptr); +int fastcall kmem_ptr_validate(struct kmem_cache *cachep, const void *ptr); #ifdef CONFIG_NUMA extern void *kmem_cache_alloc_node(struct kmem_cache *, gfp_t flags, int node); -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org