From: Andy Whitcroft <apw@shadowen.org>
To: Adrian Bunk <bunk@kernel.org>
Cc: Mel Gorman <mel@csn.ul.ie>,
wli@holomorphy.com, Andrew Morton <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] mm/hugetlb.c: make resv_map_{alloc,release}() static
Date: Tue, 26 Aug 2008 10:33:35 +0100 [thread overview]
Message-ID: <20080826093335.GE29207@brain> (raw)
In-Reply-To: <20080819134657.GD8852@cs181140183.pp.htv.fi>
On Tue, Aug 19, 2008 at 04:46:57PM +0300, Adrian Bunk wrote:
> This patch makes the needlessly global resv_map_{alloc,release}()
> static.
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Andy Whitcroft <apw@shadowen.org>
> 99bcfd48d93a0c6286b6345f52d10a0a1a43f8c4
> diff --git a/mm/hugetlb.c b/mm/hugetlb.c
> index 28a2980..c3bb4d6 100644
> --- a/mm/hugetlb.c
> +++ b/mm/hugetlb.c
> @@ -262,7 +262,7 @@ struct resv_map {
> struct list_head regions;
> };
>
> -struct resv_map *resv_map_alloc(void)
> +static struct resv_map *resv_map_alloc(void)
> {
> struct resv_map *resv_map = kmalloc(sizeof(*resv_map), GFP_KERNEL);
> if (!resv_map)
> @@ -274,7 +274,7 @@ struct resv_map *resv_map_alloc(void)
> return resv_map;
> }
>
> -void resv_map_release(struct kref *ref)
> +static void resv_map_release(struct kref *ref)
> {
> struct resv_map *resv_map = container_of(ref, struct resv_map, refs);
-apw
prev parent reply other threads:[~2008-08-26 9:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-19 13:46 [2.6 patch] mm/hugetlb.c: make resv_map_{alloc,release}() static Adrian Bunk
2008-08-26 9:33 ` Andy Whitcroft [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=20080826093335.GE29207@brain \
--to=apw@shadowen.org \
--cc=akpm@linux-foundation.org \
--cc=bunk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mel@csn.ul.ie \
--cc=wli@holomorphy.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.