From: Christoph Lameter <clameter@sgi.com>
To: Adrian Bunk <bunk@kernel.org>
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
Date: Wed, 13 Feb 2008 14:21:19 -0800 (PST) [thread overview]
Message-ID: <Pine.LNX.4.64.0802131420590.21486@schroedinger.engr.sgi.com> (raw)
In-Reply-To: <20080213213032.GH3383@cs181133002.pp.htv.fi>
On Wed, 13 Feb 2008, Adrian Bunk wrote:
> slab_address() can become static.
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
>
> ---
> 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, 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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
prev parent reply other threads:[~2008-02-13 22:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-13 21:30 [2.6 patch] make slub.c:slab_address() static Adrian Bunk
2008-02-13 21:34 ` Pekka Enberg
2008-02-13 22:21 ` Christoph Lameter [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0802131420590.21486@schroedinger.engr.sgi.com \
--to=clameter@sgi.com \
--cc=bunk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=penberg@cs.helsinki.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).