* [2.6 patch] x86/mm/discontig_32.c: make code static
@ 2007-10-24 16:24 Adrian Bunk
2007-10-25 9:40 ` Thomas Gleixner
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-10-24 16:24 UTC (permalink / raw)
To: tglx, mingo, hpa; +Cc: linux-kernel
node0_bdata and paddr_to_nid() can become static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
arch/x86/mm/discontig_32.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
3380c9e430ab49db51bea06835e4b058f573d7b5
diff --git a/arch/x86/mm/discontig_32.c b/arch/x86/mm/discontig_32.c
index fe608a4..13a474d 100644
--- a/arch/x86/mm/discontig_32.c
+++ b/arch/x86/mm/discontig_32.c
@@ -40,7 +40,7 @@
struct pglist_data *node_data[MAX_NUMNODES] __read_mostly;
EXPORT_SYMBOL(node_data);
-bootmem_data_t node0_bdata;
+static bootmem_data_t node0_bdata;
/*
* numa interface - we expect the numa architecture specific code to have
@@ -404,7 +404,7 @@ void __init set_highmem_pages_init(int bad_ppro)
}
#ifdef CONFIG_MEMORY_HOTPLUG
-int paddr_to_nid(u64 addr)
+static int paddr_to_nid(u64 addr)
{
int nid;
unsigned long pfn = PFN_DOWN(addr);
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [2.6 patch] x86/mm/discontig_32.c: make code static
2007-10-24 16:24 [2.6 patch] x86/mm/discontig_32.c: make code static Adrian Bunk
@ 2007-10-25 9:40 ` Thomas Gleixner
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Gleixner @ 2007-10-25 9:40 UTC (permalink / raw)
To: Adrian Bunk; +Cc: mingo, hpa, linux-kernel
On Wed, 24 Oct 2007, Adrian Bunk wrote:
> node0_bdata and paddr_to_nid() can become static.
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Thanks, applied.
tglx
> ---
>
> arch/x86/mm/discontig_32.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> 3380c9e430ab49db51bea06835e4b058f573d7b5
> diff --git a/arch/x86/mm/discontig_32.c b/arch/x86/mm/discontig_32.c
> index fe608a4..13a474d 100644
> --- a/arch/x86/mm/discontig_32.c
> +++ b/arch/x86/mm/discontig_32.c
> @@ -40,7 +40,7 @@
>
> struct pglist_data *node_data[MAX_NUMNODES] __read_mostly;
> EXPORT_SYMBOL(node_data);
> -bootmem_data_t node0_bdata;
> +static bootmem_data_t node0_bdata;
>
> /*
> * numa interface - we expect the numa architecture specific code to have
> @@ -404,7 +404,7 @@ void __init set_highmem_pages_init(int bad_ppro)
> }
>
> #ifdef CONFIG_MEMORY_HOTPLUG
> -int paddr_to_nid(u64 addr)
> +static int paddr_to_nid(u64 addr)
> {
> int nid;
> unsigned long pfn = PFN_DOWN(addr);
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-10-25 9:41 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:24 [2.6 patch] x86/mm/discontig_32.c: make code static Adrian Bunk
2007-10-25 9:40 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox