* [2.6 patch] mm/hugetlb.c: make a function static
@ 2007-10-24 16:23 Adrian Bunk
2007-10-24 17:24 ` Adam Litke
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-10-24 16:23 UTC (permalink / raw)
To: Adam Litke, wli; +Cc: linux-kernel
return_unused_surplus_pages() can become static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
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;
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [2.6 patch] mm/hugetlb.c: make a function static
2007-10-24 16:23 [2.6 patch] mm/hugetlb.c: make a function static Adrian Bunk
@ 2007-10-24 17:24 ` Adam Litke
0 siblings, 0 replies; 2+ messages in thread
From: Adam Litke @ 2007-10-24 17:24 UTC (permalink / raw)
To: Adrian Bunk; +Cc: wli, linux-kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-24 17:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-24 16:23 [2.6 patch] mm/hugetlb.c: make a function static Adrian Bunk
2007-10-24 17:24 ` Adam Litke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox