From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750939AbWLNRDM (ORCPT ); Thu, 14 Dec 2006 12:03:12 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750957AbWLNRDM (ORCPT ); Thu, 14 Dec 2006 12:03:12 -0500 Received: from omx1-ext.sgi.com ([192.48.179.11]:39572 "EHLO omx1.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750939AbWLNRDK (ORCPT ); Thu, 14 Dec 2006 12:03:10 -0500 Date: Thu, 14 Dec 2006 09:03:00 -0800 (PST) From: Christoph Lameter To: Peter Zijlstra cc: Andrew Morton , linux-kernel , linux-mm Subject: Re: [PATCH] slab: fix kmem_ptr_validate prototype In-Reply-To: <1166099200.32332.233.camel@twins> Message-ID: References: <1166099200.32332.233.camel@twins> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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 Index: linux-2.6/mm/slab.c =================================================================== --- linux-2.6.orig/mm/slab.c 2006-12-14 08:56:59.000000000 -0800 +++ linux-2.6/mm/slab.c 2006-12-14 08:57:10.000000000 -0800 @@ -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;