mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Adam Litke <agl@us.ibm.com>
To: Adrian Bunk <bunk@kernel.org>
Cc: wli@holomorphy.com, linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] mm/hugetlb.c: make a function static
Date: Wed, 24 Oct 2007 12:24:14 -0500	[thread overview]
Message-ID: <1193246654.18417.43.camel@localhost.localdomain> (raw)
In-Reply-To: <20071024162349.GX30533@stusta.de>

On Wed, 2007-10-24 at 18:23 +0200, Adrian Bunk wrote:
> return_unused_surplus_pages() can become static.
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Adam Litke <agl@us.ibm.com>

> 
> ---
> 8932fe99341629d50863643229d25666e9f44e03 
> diff --git a/mm/hugetlb.c b/mm/hugetlb.c
> index 8b809ec..b65da0d 100644
> --- a/mm/hugetlb.c
> +++ b/mm/hugetlb.c
> @@ -323,7 +323,7 @@ free:
>   * allocated to satisfy the reservation must be explicitly freed if they were
>   * never used.
>   */
> -void return_unused_surplus_pages(unsigned long unused_resv_pages)
> +static void return_unused_surplus_pages(unsigned long unused_resv_pages)
>  {
>  	static int nid = -1;
>  	struct page *page;
> 
> 
-- 
Adam Litke - (agl at us.ibm.com)
IBM Linux Technology Center


      reply	other threads:[~2007-10-24 17:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-24 16:23 Adrian Bunk
2007-10-24 17:24 ` Adam Litke [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=1193246654.18417.43.camel@localhost.localdomain \
    --to=agl@us.ibm.com \
    --cc=bunk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®