Messages in this thread Patch in this message | | | Subject | [PATCH] slab: fix kmem_ptr_validate prototype | From | Peter Zijlstra <> | Date | Thu, 14 Dec 2006 13:26:40 +0100 |
| |
Some fallout of: 2e892f43ccb602e8ffad73396a1000f2040c9e0b
CC mm/slab.o /usr/src/linux-2.6-git/mm/slab.c:3557: error: conflicting types for ‘kmem_ptr_validate’ /usr/src/linux-2.6-git/include/linux/slab.h:58: error: previous declaration of ‘kmem_ptr_validate’ was here
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> --- 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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |