Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932592AbYBMWVd (ORCPT ); Wed, 13 Feb 2008 17:21:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756955AbYBMWVW (ORCPT ); Wed, 13 Feb 2008 17:21:22 -0500 Received: from relay2.sgi.com ([192.48.171.30]:45980 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1758363AbYBMWVU (ORCPT ); Wed, 13 Feb 2008 17:21:20 -0500 Date: Wed, 13 Feb 2008 14:21:19 -0800 (PST) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Adrian Bunk cc: penberg@cs.helsinki.fi, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [2.6 patch] make slub.c:slab_address() static In-Reply-To: <20080213213032.GH3383@cs181133002.pp.htv.fi> Message-ID: References: <20080213213032.GH3383@cs181133002.pp.htv.fi> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 843 Lines: 29 Queued-by: Christoph Lameter On Wed, 13 Feb 2008, Adrian Bunk wrote: > slab_address() can become static. > > Signed-off-by: Adrian Bunk > > --- > fdd710f00d8bed8413c160685bc5229ec15b4d9f diff --git a/mm/slub.c b/mm/slub.c > index e2989ae..af83daf 100644 > --- a/mm/slub.c > +++ b/mm/slub.c > @@ -308,7 +308,7 @@ static inline int is_end(void *addr) > return (unsigned long)addr & PAGE_MAPPING_ANON; > } > > -void *slab_address(struct page *page) > +static void *slab_address(struct page *page) > { > return page->end - PAGE_MAPPING_ANON; > } > > -- 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/