mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.6 patch] make register_page_bootmem_info_section() static
@ 2008-06-25 16:25 Adrian Bunk
  2008-06-26  1:57 ` Yasunori Goto
  0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2008-06-25 16:25 UTC (permalink / raw)
  To: Yasunori Goto; +Cc: Andrew Morton, linux-kernel

This patch makes the needlessly global 
register_page_bootmem_info_section() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---

This patch has been sent on:
- 5 May 2008

070dc3db481a222a79755b6a06fb300f022ff56e diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
index b3fd604..6a9a28a 100644
--- a/mm/memory_hotplug.c
+++ b/mm/memory_hotplug.c
@@ -86,7 +86,7 @@ void put_page_bootmem(struct page *page)
 
 }
 
-void register_page_bootmem_info_section(unsigned long start_pfn)
+static void register_page_bootmem_info_section(unsigned long start_pfn)
 {
 	unsigned long *usemap, mapsize, section_nr, i;
 	struct mem_section *ms;


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [2.6 patch] make register_page_bootmem_info_section() static
  2008-06-25 16:25 [2.6 patch] make register_page_bootmem_info_section() static Adrian Bunk
@ 2008-06-26  1:57 ` Yasunori Goto
  0 siblings, 0 replies; 3+ messages in thread
From: Yasunori Goto @ 2008-06-26  1:57 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Andrew Morton, linux-kernel

> This patch makes the needlessly global 
> register_page_bootmem_info_section() static.
> 
> Signed-off-by: Adrian Bunk <bunk@kernel.org>

Ah, yes. Thanks!

Acked-by: Yasunori Goto <y-goto@jp.fujitsu.com>


> ---
> 
> This patch has been sent on:
> - 5 May 2008
> 
> 070dc3db481a222a79755b6a06fb300f022ff56e diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
> index b3fd604..6a9a28a 100644
> --- a/mm/memory_hotplug.c
> +++ b/mm/memory_hotplug.c
> @@ -86,7 +86,7 @@ void put_page_bootmem(struct page *page)
>  
>  }
>  
> -void register_page_bootmem_info_section(unsigned long start_pfn)
> +static void register_page_bootmem_info_section(unsigned long start_pfn)
>  {
>  	unsigned long *usemap, mapsize, section_nr, i;
>  	struct mem_section *ms;
> 

-- 
Yasunori Goto 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [2.6 patch] make register_page_bootmem_info_section() static
@ 2008-05-05 18:23 Adrian Bunk
  0 siblings, 0 replies; 3+ messages in thread
From: Adrian Bunk @ 2008-05-05 18:23 UTC (permalink / raw)
  To: Yasunori Goto; +Cc: Andrew Morton, linux-kernel

This patch makes the needlessly global 
register_page_bootmem_info_section() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>

---
070dc3db481a222a79755b6a06fb300f022ff56e diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
index b3fd604..6a9a28a 100644
--- a/mm/memory_hotplug.c
+++ b/mm/memory_hotplug.c
@@ -86,7 +86,7 @@ void put_page_bootmem(struct page *page)
 
 }
 
-void register_page_bootmem_info_section(unsigned long start_pfn)
+static void register_page_bootmem_info_section(unsigned long start_pfn)
 {
 	unsigned long *usemap, mapsize, section_nr, i;
 	struct mem_section *ms;


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-26  2:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-25 16:25 [2.6 patch] make register_page_bootmem_info_section() static Adrian Bunk
2008-06-26  1:57 ` Yasunori Goto
  -- strict thread matches above, loose matches on Subject: below --
2008-05-05 18:23 Adrian Bunk

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®